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 Sourcepublic InputStream getInputStream() throws IOException, SourceNotFoundException
getInputStream in interface SourceIOExceptionSourceNotFoundExceptionpublic long getLastModified()
getLastModified in interface Sourcepublic String getMimeType()
getMimeType in interface Sourcepublic SourceValidity getValidity()
getValidity in interface Source