public class FileDescriptor
extends java.lang.Object
Constructor and Description |
---|
FileDescriptor(java.lang.String name)
Create a configuration file descriptor with its NAME.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConcatName()
Get the concatenated NAME of this configuration file containing
all the information of the hierarchy.
|
java.lang.String |
getPath()
Get the path of this configuration file relative to the most upper
folder known to the descriptor.
|
FileDescriptor |
wrap(java.lang.String folderName)
Indicate that the given folder further contains the containing
folder hierarchy of this configuration file.
|
public FileDescriptor(@Nonnull java.lang.String name)
name
- The NAME of the configuration file.public FileDescriptor wrap(@Nonnull java.lang.String folderName)
folderName
- The NAME of the outer folder.public java.lang.String getPath()
public java.lang.String getConcatName()