public class FileSystemNodeInfo extends Object
The additional information of the FileSystemNode
used by the
DataConfigurationParserImpl
and the DataFileSystemNodeVisitor
class.
Constructor and Description |
---|
FileSystemNodeInfo(FileInfo source,
boolean process,
String encoding)
Creates optional parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
Returns the encoding for the processing.
|
FileInfo |
getSource()
Returns the information about the source file.
|
boolean |
isProcess()
Returns the flag if the file should be processed.
|
public FileSystemNodeInfo(FileInfo source, boolean process, String encoding)
Creates optional parameters.
source
- The information about the source file.process
- The flag if the file should be processed.encoding
- The encoding for the processing (optional).IllegalArgumentException
- If any of the non-optional parameters are null
.public FileInfo getSource()
Returns the information about the source file.
public boolean isProcess()
Returns the flag if the file should be processed.
true
, if the file should be processed,
false
otherwise.getEncoding()
public String getEncoding()
Returns the encoding for the processing.
This flag has only an effect if this node should be processed.
null
, if the default encoding should
be used.isProcess()
Copyright © 2015–2019. All rights reserved.