public class FileNode extends Node
| Modifier and Type | Field and Description |
|---|---|
protected String |
dir |
protected String |
file |
protected ConfigManager |
myConfigManager |
protected boolean |
relative |
| Constructor and Description |
|---|
FileNode(ConfigManager theConfigManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigRootPath() |
String |
getDir() |
String |
getFile() |
String |
getFileContentString() |
String |
getFileName() |
String |
getFilePath() |
Object |
getObjectValue() |
boolean |
getRelative()
return if the file name/path is relative to cfgroot (true) or
absolute (false).
|
String |
getURLPath() |
void |
setDir(String value) |
void |
setFile(String value) |
void |
setRelative(boolean aRelative) |
protected String dir
protected String file
protected boolean relative
protected ConfigManager myConfigManager
public FileNode(ConfigManager theConfigManager)
public Object getObjectValue()
getObjectValue in class Nodepublic void setRelative(boolean aRelative)
public boolean getRelative()
public String getConfigRootPath()
public String getURLPath()
public String getFilePath()
public String getDir()
public void setDir(String value)
public String getFile()
public void setFile(String value)
public String getFileContentString() throws IOException
IOExceptionpublic String getFileName()
Copyright © 2008–2018. All rights reserved.