Modifier and Type | Method and Description |
---|---|
FileReader |
createFileReader(java.lang.String path)
Open a file as read only.
|
FileWriter |
createFileWriter(java.lang.String path)
Open a file as write only.
|
XMLNode |
createXMLNode(java.lang.String name)
Create an xml node from a name.
|
XMLParser |
createXMLParser()
Create an XML parser, in order to load an xml node from a file.
|
static FileFactory |
getInstance() |
public static FileFactory getInstance()
public FileReader createFileReader(java.lang.String path) throws java.io.FileNotFoundException
File
createFileReader
in interface File
path
- file name.java.io.FileNotFoundException
- if file is not found.public FileWriter createFileWriter(java.lang.String path) throws java.io.FileNotFoundException
File
createFileWriter
in interface File
path
- file name.java.io.FileNotFoundException
- if file is not found.public XMLParser createXMLParser()
File
createXMLParser
in interface File
public XMLNode createXMLNode(java.lang.String name)
File
createXMLNode
in interface File
name
- node name.