Class AbstractDocument
- java.lang.Object
-
- net.webpdf.wsclient.session.documents.AbstractDocument
-
- All Implemented Interfaces:
Document
- Direct Known Subclasses:
RestWebServiceDocument,SoapWebServiceDocument
public abstract class AbstractDocument extends Object implements Document
An instance ofAbstractDocumentrepresents a document as it is processed/created by aWebServiceor uploaded to the webPDF server.
-
-
Constructor Summary
Constructors Constructor Description AbstractDocument(@Nullable URI source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable URIgetSource()Returns theURIof the document.booleanisFileSource()Returnstrue, if theURIof the document points to a file.
-
-
-
Method Detail
-
isFileSource
public boolean isFileSource()
Returnstrue, if theURIof the document points to a file.- Specified by:
isFileSourcein interfaceDocument- Returns:
true, if theURIof the document points to a file.
-
-