public class PackageReader extends FilePathReader
| Modifier and Type | Field and Description |
|---|---|
protected InputPackage |
pkg |
allowEmptyMetadataconfiguration, logger| Constructor and Description |
|---|
PackageReader(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getPath() |
void |
read(java.lang.String[] uris,
DocumentInterface document) |
void |
setPackage(InputPackage pkg) |
protected InputPackage pkg
public PackageReader(Configuration configuration) throws SyncException
configuration - SyncExceptionpublic void setPackage(InputPackage pkg)
pkg - public void read(java.lang.String[] uris,
DocumentInterface document)
throws SyncException
read in interface ReaderInterfaceread in class FilePathReaderSyncExceptionpublic java.lang.String getPath()
public void close()
close in interface ReaderInterfaceclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class AbstractReader