input
stringlengths
10
828
output
stringlengths
5
107
private void set nb session int new nb session nb session new nb session
standard accessor set the nb session
protected string get collection return collection
standard accessor return the collection
private void set pwd string new pwd pwd new pwd
standard accessor set the password
private void set user string new user user new user
standard accessor set the user name
protected char get copyright return copyright
standard accessor return the copyright
private void set existance of drawing char new existance of drawing existance of drawing new existance of drawing
standard accessor set existance of drawing info
protected string get file format return file format
standard accessor return the file format
private void set existance of search report char new existance of search report existance of search report new existance of search report
standard accessor set existance of shearch report info
private void set frame location x char new frame location x frame location x new frame location x
standard accessor set the frame location in x
public client new client int the num client c new client this string value of the num return c
create a new direct loading client
private void set frame location y char new frame location y frame location y new frame location y
standard accessor set the frame location in y
private void set amdt int new amdt amdt new amdt
standard accessor set the amendment
private void set collection string new collection collection new collection
standard accessor set the collection
private void set frame number char new frame number frame number new frame number
standard accessor set the frame number
private void set copyright char new copyright copyright new copyright
standard accessor set the copyright
private void set file format string new file format file format new file format
standard accessor set the file format
private void set frame status char new frame status frame status new frame status
standard accessor set the frame status
private void set full date of draw up char new full date of draw up full date of draw up new full date of draw up
standard accessor set full date off draw up
private void set pub date java sql timestamp new pub date pub date new pub date
standard accessor set the publication date
private void set full document number char new full document number full document number new full document number
standard accessor set full document number
private void set scan date java sql timestamp new scan date scan date new scan date
standard accessor set the scan date
private void set height of document char new height of document height of document new height of document
standard accessor set the height of the document
private void set size buff to write int new size buff to write size buff to write new size buff to write 1024
standard accessor set the size of the buffer to write
private void set src file name string new src file name src file name new src file name
standard accessor set the scource file name
private void set k factor code char new k factor code k factor code new k factor code
standard accessor set the k factor
private void set kind of document code char new kind of document code kind of document code new kind of document code
standard accessor set the kinf of document code
private void set length of image data byte new length of image data length of image data new length of image data
standard accessor set the lenght of image data
public client new client int the num java util linked list the param list client c new client this string value of the num the param list return c
create a new client
private void set number of line of frame height char new number of line of frame height number of line of frame height new number of line of frame height
standard accessor set number of line of frame height
private void set number of line of frame width char new number of line of frame width number of line of frame width new number of line of frame width
standard accessor set number of line of frame width
private void set originating office char new originating office originating office new originating office
standard accessor set the originating office
private void set other domestic use char new other domestic use other domestic use new other domestic use
standard accessor set other domestic use
private void set pwd java lang string new pwd pwd new pwd
standard accessor set the password
private void set other domestic use2 char new other domestic use2 other domestic use2 new other domestic use2
standard accessor set other domestic use
private void set tgt directory java lang string new tgt directory tgt directory new tgt directory
standard accessor set the target directory
private void set other domestic use3 char new other domestic use3 other domestic use3 new other domestic use3
standard accessor set other domestic use
private void set user java lang string new user user new user
standard accessor set the user name
private void set other domestic use4 char new other domestic use4 other domestic use4 new other domestic use4
standard accessor set other domestic use
private void set other exchange use char new other exchange use other exchange use new other exchange use
standard accessor set other exchange use
private void set other exchange use2 char new other exchange use2 other exchange use2 new other exchange use2
standard accessor set other exchange use
private void set other exchange use3 char new other exchange use3 other exchange use3 new other exchange use3
standard accessor set other exchange use
private void set other exchange use4 char new other exchange use4 other exchange use4 new other exchange use4
standard accessor set other exchange use
private void set page number char new page number page number new page number
standard accessor set the page number
private void set position10 of document char new position10 of document position10 of document new position10 of document
standard accessor set the position 10 of document
private void set position9 of document char new position9 of document position9 of document new position9 of document
standard accessor set the position 9 of document
public void addsb string the command throws jpxi exception server monitoring command add sb if get jpxi server null system out println no connection is established else if the command length 2 print help the command 0 add sb else try get jpxi server add spare buffers get session uid integer parse int the command 1 catc...
b call the add spare buffers remote server method b br
private void set publication date char new publication date publication date new publication date
standard accessor set the publication date
public void closebuff string the command throws jpxi exception server monitoring command close buff if get jpxi server null system out println no connection is established else if the command length 2 print help the command 0 close buff else try get jpxi server close buffer get session uid integer parse int the command...
b call the close buffer remote server method b br
private void set publishing office char new publishing office publishing office new publishing office
standard accessor set the publishing office
private void build st33 header begin byte the buffer throws jpxi exception int my off set the buffer length get current header off set get last buffer off set system arraycopy the buffer get current header off set get last buffer off set get st33 header 0 my off set
build the begin of the st33 header
private void set record length char new record length record length new record length
standard accessor set the record length
private void build st33 header body byte the buffer throws jpxi exception system arraycopy the buffer 0 get st33 header get scan header off set the buffer length
build the body of the st33 header
private void build st33 header end byte the buffer throws jpxi exception system arraycopy the buffer 0 get st33 header get scan header off set get st33 header length get scan header off set
build the end of the st33 header
private void create st33 header byte the buffer system arraycopy the buffer get current header off set get last buffer off set get st33 header 0 get st33 header length
insert the methods description here
private void set record sequence number byte new record sequence number record sequence number new record sequence number
standard accessor set the record sequence number
private void set record status char new record status record status new record status
standard accessor set the record status
private string format info int the info int the length return format info integer to string the info the length
b return a well formated string with given length b br
private string format info string the info int the length string my string for int i 0 i the length the info length i my string return my string the info
b return a well formated string with given length b br
private void set resolution char new resolution resolution new resolution
standard accessor set the resolution
private string format info2 string the info int the length string my string for int i 0 i the length the info length i my string return the info my string
b return a well formated string with given length b br
private void set revisory document char new revisory document revisory document new revisory document
standard accessor set the revisory document
private void set rotation code char new rotation code rotation code new rotation code
standard accessor set the rotation code
private void set size of frame height char new size of frame height size of frame height new size of frame height
standard accessor set the size of frame height
private void set size of frame width char new size of frame width size of frame width new size of frame width
standard accessor set the size of frame width
private void set total length of image data byte new total length of image data total length of image data new total length of image data
standard accessor set the total length of imge data
private void set total pages char new total pages total pages new total pages
standard accessor set total pages
private int get ifdtiff size each entry it coded on 12 bytes and add 2 for the control return 2 12 get nb ifdentry
compute the size with the ifd entry number
private void set total records byte new total records total records new total records
standard accessor set the total records
private void set width of document char new width of document width of document new width of document
standard accessor set width of document
protected void logout stop the pinger stop pinger close the rmi communication with j pxi server try close the j pxi session if get server null if get session uid null get jpxi server close admin session get session uid the remote exceptions are caught at a higher level catch remote exception re call the exception dispa...
b close the rmi communication with remote server b br
public void lrstat string the command throws jpxi exception server monitoring command lrstat java sql timestamp my date if get jpxi server null system out println no connection is established else if the command length 1 print help the command 0 lr stat else try my date get jpxi server get last stat reset time get sess...
b call the get last stat reset time remote server method b br
public void nbsb string the command throws jpxi exception server monitoring command new sb if get jpxi server null system out println no connection is established else int nb spare buff try nb spare buff get jpxi server get nb spare buffers get session uid catch remote exception e throw new jpxi exception jpxi exceptio...
b call the get nb spare buffers remote server method b br
public void newcoll string the command throws jpxi exception server monitoring command new coll if get jpxi server null system out println no connection is established else if the command length 3 print help the command 0 new coll else string my descr the command 2 for int i 3 i the command length i my descr the comman...
b call the add new collection remote server method b br
private void add dep in list string the string int the pos throws jpxi exception int dep new int 2 string tmp my prop tmp tmp substring the pos the string length 1 trim int end pos tmp index of tmp tmp substring 0 end pos trim dep 0 objnum dep 1 integer parse int tmp non epo code 05 04 2005 logger line 244 247 get dep ...
add new virtual depandant object in depandance list
private void add dep in list string the string int the pos throws jpxi exception int dep new int 2 string tmp my prop tmp tmp substring the pos the string length 1 trim int end pos tmp index of tmp tmp substring 0 end pos trim dep 0 objnum dep 1 integer parse int tmp non epo code 05 04 2005 logger add dep with new virt...
add new virtual depandant object in depandance list
private void add pages dep string the string int the pos throws jpxi exception get pdfdoc skeleton add signet objnum 0 0 0 0 int dep new int 2 string tmp my prop tmp tmp substring the pos the string length 1 trim int end pos tmp index of tmp tmp substring 0 end pos trim dep 0 objnum dep 1 integer parse int tmp non epo ...
add new pages dependance for root object
public void refdelay string the command shell command ref delay if the command length 2 system out println server connection refresh delay get sleep time 1000 s else try int my time integer parse int the command 1 if my time 0 system out println time must be positive set sleep time 1000 my time catch number format exce...
b change the sleep time delay for pinger b br
private void add pages dep string the string int the pos throws org epo jpxi shared jpxi exception get pdfdoc skeleton add signet objnum 0 0 0 0 int dep new int 2 string tmp my prop tmp tmp substring the pos the string length 1 trim int end pos tmp index of tmp tmp substring 0 end pos trim dep 0 objnum dep 1 integer pa...
add new pages dependance for root object
public jpxi doc skeleton get doc skeleton throws jpxi exception return doc skeleton
return the document structure description
public void remsb string the command throws jpxi exception server monitoring command rem sb if get jpxi server null system out println no connection is established else if the command length 2 print help the command 0 rem sb else try get jpxi server remove spare buffer get session uid integer parse int the command 1 ca...
b call the remove spare buffer remote server method b br
public long get object id return get storage interface get object id
return the document object ientifier
public void run create and install a security manager if system get security manager null system set security manager new rmisecurity manager if the application is launched with arguments properties p system get properties string my app param string p get org epo jpxi clients admin jpxi admin console start param if my ...
insert the methods description here
private int get obj seq number return obj seq number
standard accessor return the object sequence number
private int get page rank return page rank
standard accessor return the rank number of the current analysed page
private long next offset rupture throws jpxi exception long my rupture 1 search the next rupture if get offset rupture list null get offset rupture list size 0 my rupture get current doc offset long rupt x long tb null java util iterator it1 get offset rupture list iterator while it1 has next tb long it1 next rupt x tb...
give the offset of the next rupture following the given offset
private int get page seq number return page seq number
standard accessor return the page sequence number
private void set ping server jpxi admin console ping server new ping server ping server new ping server
b standard accessor b br
private int get subpart id return subpart id
standard accessor return the subpart id
private boolean is first call return first call
standard accessor return the flag of the analyze method first call
private void set sleep time int new sleep time sleep time new sleep time
b standard accessor b br
private void set first call boolean new first call first call new first call
standard accessor set the first call flag
public void shutdown string the command throws jpxi exception server administration command shutdown if get jpxi server null system out println no connection is established else try get jpxi server shutdown get session uid system out println get jpxi server get instance id server is shuting down catch remote exception ...
b call the shutdown remote server method b br
private void set obj seq number int new obj seq number obj seq number new obj seq number
standard accessor set the object sequence number
private void set page rank int new page rank page rank new page rank
standard accessor set the rank number of the current page
public void start string the command throws jpxi exception server administration command start if get jpxi server null system out println no connection is established else try get jpxi server start server get session uid system out println get jpxi server get instance id server started catch remote exception e throw ne...
b call the start server remote server method b br
private void set page seq number int new page seq number page seq number new page seq number
standard accessor set the page sequence number
private void set pdfdoc skeleton org epo jpxi shared jpxi doc skeleton new pdfdoc skeleton pdfdoc skeleton new pdfdoc skeleton
standard accessor set the pdf skeleton of the document
public void status string the command throws jpxi exception server administration command status if get jpxi server null system out println no connection is established else try system out println get jpxi server get instance id server is get jpxi server get status get session uid catch remote exception e throw new jpx...
b call the get instance id remote server method b br
public void set skeleton org epo jpxi shared jpxi doc skeleton the skeleton doc skeleton the skeleton
standard accessor set the skeleton of the document
private void set subpart id int new subpart id subpart id new subpart id
standard accessor set the subpart id