|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.afp.Document
public abstract class Document
This class encapsulates a paper product and associated metadata. The metadata includes such things as the number of pages, the number of copies, a GUID, and document title.
| Constructor Summary | |
|---|---|
Document()
|
|
| Method Summary | |
|---|---|
abstract String |
getGUID()
Gets the unique identifier of this document. |
abstract int |
getNumberOfCopies()
Gets the number of copies of this document. |
abstract int |
getNumberOfPages()
Gets the number of pages contained in this document. |
abstract InputStream |
getResource(String path)
Retrieves the contents of a file from the document as an input stream. |
abstract String |
getTitle()
Gets the title of this document. |
abstract boolean |
isInUse()
Indicates if the document is in use. |
abstract Enumeration |
listUserdataFiles()
Lists all the files, including those in subdirectories, contained within the document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Document()
| Method Detail |
|---|
public abstract int getNumberOfPages()
public abstract int getNumberOfCopies()
public abstract String getGUID()
public abstract String getTitle()
public abstract boolean isInUse()
true if the document is in use and
false otherwise.
public abstract InputStream getResource(String path)
throws IOException
path - the file path
null if the file is not found.
IOException - if there was an I/O error.#listUserdataFiles()}public abstract Enumeration listUserdataFiles()
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||