public class FSFileResource extends Object implements FileResource
FILE_EXTENSION
Constructor and Description |
---|
FSFileResource(File inputRoot,
File fullPath) |
Modifier and Type | Method and Description |
---|---|
Metadata |
getMetadata()
This gets the metadata available before the parsing of the file.
|
String |
getResourceId()
This is only used in logging to identify which file
may have caused problems.
|
InputStream |
openInputStream() |
public String getResourceId()
FileResource
getResourceId
in interface FileResource
public Metadata getMetadata()
FileResource
getMetadata
in interface FileResource
public InputStream openInputStream() throws IOException
openInputStream
in interface FileResource
IOException
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.