public class DocbookEnhancementSource extends Object implements Source
Modifier and Type | Field and Description |
---|---|
private String |
_content |
private String |
_location |
private long |
_timestamp |
Constructor and Description |
---|
DocbookEnhancementSource(String location,
String content,
long timestamp)
Build a source
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
long |
getContentLength() |
InputStream |
getInputStream() |
long |
getLastModified() |
String |
getMimeType() |
String |
getScheme() |
String |
getURI() |
SourceValidity |
getValidity() |
void |
refresh() |
private long _timestamp
public DocbookEnhancementSource(String location, String content, long timestamp)
location
- The source locationcontent
- The source contenttimestamp
- the application startup time.public long getContentLength()
getContentLength
in interface Source
public InputStream getInputStream() throws IOException, SourceNotFoundException
getInputStream
in interface Source
IOException
SourceNotFoundException
public long getLastModified()
getLastModified
in interface Source
public String getMimeType()
getMimeType
in interface Source
public SourceValidity getValidity()
getValidity
in interface Source