Package com.norconex.importer
Class ImporterRequest
java.lang.Object
com.norconex.importer.ImporterRequest
An Importer request, unique for each document to be imported.
A
null is accepted for the file or input stream. This can
sometimes be useful when dealing with meta data only.
A null reference can also be provided, in which case the
file name will be used as the reference when a file is provided, or an
empty string when dealing with an input stream. It is recommended
to pass a reference that represents your document when possible (at least
just the filename, including appropriate extension).- Since:
- 3.0.0
- Author:
- Pascal Essiembre
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFile()inthashCode()setContentEncoding(String contentEncoding) setContentType(ContentType contentType) setMetadata(Properties metadata) setReference(String reference) toString()
-
Constructor Details
-
ImporterRequest
-
ImporterRequest
-
-
Method Details