input
stringlengths 10
828
| output
stringlengths 5
107
|
|---|---|
static public string get eisbn from article url string article url get the tdb au from the au tdb au tdb au get tdb au from article url article url if tdb au null query log debug2 no tdb au for article url article url return null string eisbn tdb au get eisbn return unpunctuate eisbn
|
return the e isbn from that corresponds
|
public string get suffix return m suffix
|
return the optional suffix
|
public string display string return to string
|
return a pretty string
|
static public string get eisbn from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key if tdb au null query log debug2 no tdb au for plugin id plugin id au key au key return null string eisbn tdb au get eisbn return unpunctuate eisbn
|
return the e isbn from that corresponds
|
static public string get print isbn from article url string article url get the tdb au from the au tdb au tdb au get tdb au from article url article url if tdb au null query log debug2 no tdb au for article url article url return null string print isbn tdb au get print isbn return unpunctuate print isbn
|
return the print isbn from that corresponds
|
static public string get print isbn from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key if tdb au null query log debug2 no tdb au for plugin id plugin id au key au key return null string print isbn tdb au get print isbn return unpunctuate print isbn
|
return the print isbn from that corresponds
|
static public string get isbn from article url string article url get the tdb au from the au tdb au tdb au get tdb au from article url article url if tdb au null query log debug2 no tdb au for article url article url return null string isbn tdb au get isbn return unpunctuate isbn
|
return an isbn from that corresponds
|
static public string get isbn from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key if tdb au null query log debug2 no tdb au for plugin id plugin id au key au key return null string isbn tdb au get isbn return unpunctuate isbn
|
return an isbn from that corresponds
|
public void print stack trace if suppress stack trace super print stack trace else if get cause null get cause print stack trace else system err println this
|
if stack trace is suppressed substitute the stack trace of the
|
static public string get eissn from article url string article url get the tdb au from the au tdb au tdb au get tdb au from article url article url if tdb au null query log debug2 no tdb au for article url article url return null string eissn tdb au get eissn return unpunctuate eissn
|
return the e issn from that corresponds to the url
|
public void print stack trace java io print stream s if suppress stack trace super print stack trace s else if get cause null get cause print stack trace s else s println this
|
if stack trace is suppressed substitute the stack trace of the
|
public void print stack trace java io print writer s if suppress stack trace super print stack trace s else if get cause null get cause print stack trace s else s println this
|
if stack trace is suppressed substitute the stack trace of the
|
static public string get eissn from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key if tdb au null query log debug2 no tdb au for plugin id plugin id au key au key return null string eissn tdb au get eissn return unpunctuate eissn
|
return the e issn from that corresponds to the au id
|
static public string get issn lfrom article url string article url get the tdb au from the au tdb au tdb au get tdb au from article url article url if tdb au null query log debug2 no tdb au for article url article url return null string issnl tdb au get issn l return unpunctuate issnl
|
return the issn l from that corresponds to the url
|
static public string get issn lfrom au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key if tdb au null return null string issnl tdb au get eissn return unpunctuate issnl
|
return the issn l from that corresponds to the au id
|
static public string get issn from article url string article url get the tdb au from the au tdb au tdb au get tdb au from article url article url if tdb au null query log debug2 no tdb au for article url article url return null string issn tdb au get issn return unpunctuate issn
|
return a issn that corresponds to the url
|
static public string get issn from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key if tdb au null query log debug2 no tdb au for plugin id plugin id au key au key return null string issn tdb au get issn return unpunctuate issn
|
return a issn that corresponds to the au id
|
static public string get print issn from article url string article url get the tdb au from the au tdb au tdb au get tdb au from article url article url if tdb au null query log debug2 no tdb au for article url article url return null string print issn tdb au get print issn return unpunctuate print issn
|
return the print issn from that corresponds to the url
|
static public string get print issn from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key if tdb au null query log debug2 no tdb au for plugin id plugin id au key au key return null string print issn tdb au get print issn return unpunctuate print issn
|
return the print issn from that corresponds to the au id
|
static public string get year from date string date str if date str null int i date str index of string year i 0 date str substring 0 i date str try if integer parse int year 0 return year catch number format exception ex query log debug2 year field of date is not a number date str return null
|
return the year from an iso formatted date string of the form
|
static public string get ingest year from article url string article url string ingest date get ingest date from article url article url string ingest year get year from date ingest date return ingest year
|
return the ingest year from the daemon that corresponds
|
static public string get volume title from isbn string isbn if isbn null return null get the tdb tdb tdb config manager get current config get tdb if tdb null log debug2 no tdb in configuration return null get the tdb aus for this isbn collection tdb au tdb aus tdb get tdb aus by isbn isbn return the title return tdb aus is empty null tdb aus iterator next get name
|
return the title from the title database that corresponds
|
static public string get title from isbn string isbn if isbn null return null get the tdb tdb tdb config manager get current config get tdb if tdb null log debug2 no tdb in configuration return null get the tdb aus from the isbn collection tdb au tdb aus tdb get tdb aus by isbn isbn return the title return tdb aus is empty null tdb aus iterator next get journal title
|
return the series title from the title database that corresponds
|
static public string get title from issn string issn if issn null return null get the tdb tdb tdb config manager get current config get tdb if tdb null log debug2 no tdb in configuration return null get the title from the issn tdb title tdb title tdb get tdb title by issn issn return the title return tdb title null null tdb title get name
|
return the title from the title database that corresponds
|
static public string get publisher from isbn string isbn if isbn null return null tdb tdb config manager get current config get tdb if tdb null log debug2 no tdb in configuration return null get the publisher from the issn collection tdb au tdb aus tdb get tdb aus by isbn isbn if tdb aus is empty query log debug2 no tdb aus for isbn isbn return null return the publisher return tdb aus iterator next get publisher name
|
return the publisher from the title database that corresponds
|
static public string get publisher from issn string journal issn if journal issn null return null tdb tdb config manager get current config get tdb if tdb null log debug2 no tdb in configuration return null get the publisher from the issn tdb title tdb title tdb get tdb title by issn journal issn if tdb title null query log debug2 no tdb title for journal issn journal issn return null return the publisher tdb publisher tdb publisher tdb title get tdb publisher return tdb publisher null null tdb publisher get name
|
return the publisher from the title database that corresponds
|
static public string get publisher from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key return tdb au null null tdb au get publisher name
|
return the journal publisher that corresponds to the auid of a journal au
|
static public string get ingest year from au id string plugin id string au key if string util is null string plugin id string util is null string au key return null string ingest date get ingest date from au id plugin id au key string ingest year get year from date ingest date return ingest year
|
return the au creation year from the daemon that corresponds
|
static public string get ingest date from au id string plugin id string au key if string util is null string plugin id string util is null string au key return null string au id plugin manager generate au id plugin id au key archival unit au get plugin manager get au from id au id return get au date from au au
|
return the au creation date from the daemon that corresponds
|
public void set default factory secure protocol socket factory fact default fact fact
|
set the default secure protocol socket factory
|
static class cant proxy exception extends ioexception public cant proxy exception string msg super msg public cant proxy exception super
|
exception thrown by set proxy if the connection type doesnt support
|
public http client get http client if http client null http client setup new http client return http client
|
return creating if necessary an http client
|
static public string get start volume from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key return tdb au null null tdb au get start volume
|
return the starting volume for the specified au
|
public void set connect timeout long connect timeout this connect timeout shorten to int connect timeout hc conn manager get params set connection timeout this connect timeout
|
set the maximum time to wait for the underlying socket connection to
|
public secure protocol socket factory get secure protocol socket factory return sock fact
|
return the secure protocol socket factory to be used for authenticated
|
public void close idle connections long idle time hc conn manager close idle connections idle time
|
close connections that have been idle for at least idle time
|
static public string get start volume from article url string article url tdb au tdb au get tdb au from article url article url return tdb au null null tdb au get start volume
|
return the starting volume for the specified article url
|
static public string get end volume from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key return tdb au null null tdb au get end volume
|
return the ending volume for the specified au
|
public string get url return url conn get url to string
|
return the url
|
static public string get end volume from article url string article url tdb au tdb au get tdb au from article url article url return tdb au null null tdb au get end volume
|
return the ending volume for the specified article url
|
public long get response content length assert executed return url conn get content length
|
returns the value of the code content length code header field
|
public string get response content type assert executed return url conn get content type
|
returns the value of the code content type code header field
|
public long get response last modified assert executed return url conn get last modified
|
return the last modified from the response header
|
public string get response content encoding assert executed return url conn get content encoding
|
returns the value of the code content encoding code header field
|
public string get response header value string name assert executed return url conn get header field name
|
returns the value of the specified header field
|
static public string get start year from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key return tdb au null null tdb au get start year
|
return the starting year for the specified au
|
static public string get start year from article url string article url tdb au tdb au get tdb au from article url article url return tdb au null null tdb au get start year
|
return the starting year for the specified article url
|
static public string get end year from au id string plugin id string au key tdb au tdb au get tdb au from au id plugin id au key return tdb au null null tdb au get end year
|
return the ending year for the specified au
|
static public string get end year from article url string article url tdb au tdb au get tdb au from article url article url return tdb au null null tdb au get end year
|
return the ending year for the specified article url
|
static public string get content type from article url string article url get the cached url from the article url cached url cu get plugin manager find cached url article url if cu null query log debug2 no cached url for article url article url return null return cu get content type
|
return the article content type from the daemon that corresponds
|
static public long get content size from article url string article url get the cached url from the article url cached url cu get plugin manager find cached url article url if cu null query log debug2 no cached url for article url article url return 1 return cu get content size
|
return the article content size from the daemon that corresponds
|
public secure protocol socket factory get http client secure protocol socket factory if http client secure sock fact null http client secure sock fact new auth sslprotocol socket factory server auth keystore name client auth keystore name return http client secure sock fact
|
return creating if necessary an http client
|
public void store map entry int code object response if response instanceof cache result handler store map entry code new exception info handler cache result handler response else if response instanceof class store map entry code new exception info cls class response else throw new runtime exception unsupported response type response
|
map the http result code to the response
|
public void store map entry class fetch exception class object response if response instanceof cache result handler store map entry fetch exception class cache result handler response else if response instanceof class store map entry fetch exception class class response else throw new runtime exception unsupported response type response
|
map the http result code to the response
|
public void store map entry int code class exception class store map entry code exception class null
|
map the http result code to the cache exception class
|
private void mimic sun request headers if is header set method get request header accept set request property accept accept string if is header set method get request header connection set request property connection keep alive
|
mimic java 1
|
public void store map entry int code class exception class string fmt store map entry code new exception info cls exception class fmt
|
map the http result code to the cache exception class
|
public void store map entry class fetch exception class class exception class store map entry fetch exception class exception class null
|
map the fetch exception socket exception ioexception etc
|
public void release assert executed method release connection
|
release resources associated with this request
|
public status source get status source return this
|
return the status source
|
public void abort method abort
|
abort the request
|
public comparable get lb return lb
|
return the lower bound
|
public comparable get ub return ub
|
return the upper bound
|
public boolean is before interval other return ub compare to other get lb 0
|
determine whether intervals are ordered and non overlapping
|
public boolean is disjoint interval other return other get lb compare to ub 0 lb compare to other get ub 0
|
determine whether intervals are disjoint
|
public boolean subsumes interval other return lb compare to other get lb 0 ub compare to other get ub 0
|
determine whether one interval subsumes the other
|
public boolean contains comparable point return lb compare to point 0 point compare to ub 0
|
determine whether a point is contained in the interval
|
public boolean close try get pd document close return true catch ioexception ioe logger error error while closing a pdf document ioe return false finally pdf parser null
|
p closes the underlying
|
public string get author throws ioexception return get document information get author
|
p gets the author from the document information
|
public boolean has next return left 0
|
return true if there are more permutations
|
public cosdocument get cos document throws ioexception return get pdf parser get document
|
p provides access to the underlying
|
public calendar get creation date throws ioexception return get document information get creation date
|
p gets the creation date from the document information
|
public string get creator throws ioexception return get document information get creator
|
p gets the creator from the document information
|
public string get keywords throws ioexception return get document information get keywords
|
p gets the keywords from the document information
|
public calendar get modification date throws ioexception return get document information get modification date
|
p gets the modification date from the document information
|
public int get number of pages throws ioexception return get pd document get number of pages
|
p determines the number of pages of this pdf document
|
public pddocument get pd document throws ioexception return get pdf parser get pddocument
|
p provides access to the underlying
|
public pdfparser get pdf parser return pdf parser
|
p provides access to the underlying
|
public string get producer throws ioexception return get document information get producer
|
p gets the producer from the document information
|
public string get subject throws ioexception return get document information get subject
|
p gets the subject from the document information
|
public boolean has next return nleft 0
|
return true if there are more permutations
|
public object next if has next throw new no such element exception nleft if first first false else next perm return indices
|
return an int array code int code containing the next
|
public string get title throws ioexception return get document information get title
|
p gets the title from the document information
|
public void put all map t remove expired entries iterator it t entry set iterator while it has next map entry entry map entry it next put entry get key entry get value
|
places all entries from another map into this one
|
public pdstream make pd stream throws ioexception return new pdstream get pd document
|
p instantiates a new
|
public void remove author throws ioexception set author null
|
p unsets the author from the document information
|
public void remove creation date throws ioexception set creation date null
|
p unsets the creation date from the document information
|
public void remove creator throws ioexception set creator null
|
p unsets the creator from the document information
|
public void remove keywords throws ioexception set keywords null
|
p unsets the keywords from the document information
|
public void remove modification date throws ioexception set modification date null
|
p unsets the modification date from the document information
|
public int get limit return events
|
return the limit on the number of events
|
public boolean is rate string rate return get rate equals rate
|
return true if the rate limiter is of specified rate
|
public void remove producer throws ioexception set producer null
|
p unsets the producer from the document information
|
public boolean is rate int events long interval return this events events this interval interval
|
return true if the rate limiter is of specified rate
|
public void remove subject throws ioexception set subject null
|
p unsets the subject from the document information
|
public boolean is unlimited return time null
|
return true iff the rate limiter imposes no limit
|
public void remove title throws ioexception set title null
|
p unsets the title from the document information
|
public void save output stream output stream throws ioexception try get pd document save output stream catch cosvisitor exception cve ioexception ioe new ioexception ioe init cause cve throw ioe
|
p this will save the underlying
|
public boolean fifo wait and signal event throws interrupted exception wait queue acquire synchronized this boolean res wait until event ok event wait queue release return res
|
wait until event is allowed signal an event and return
|
public void set author string author throws ioexception get document information set author author
|
p sets the author in the document information
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.