public class DefaultFileAccess extends Object implements FileAccess
Constructor and Description |
---|
DefaultFileAccess() |
Modifier and Type | Method and Description |
---|---|
protected BufferedReader |
getBufferedReaderForFile(String fileName) |
protected StringBuilder |
getStringBuilderToHoldFileContents() |
protected boolean |
isNonCommentLine(String line) |
protected void |
readContentIntoStringBuilder(BufferedReader in,
StringBuilder s) |
String[] |
readOptionStringFromFile(String fileName) |
protected String[] |
tokenizeInput(String s) |
public DefaultFileAccess()
public final String[] readOptionStringFromFile(String fileName) throws IOException
readOptionStringFromFile
in interface FileAccess
IOException
protected StringBuilder getStringBuilderToHoldFileContents()
protected BufferedReader getBufferedReaderForFile(String fileName) throws FileNotFoundException
FileNotFoundException
protected final void readContentIntoStringBuilder(BufferedReader in, StringBuilder s) throws IOException
IOException
protected final String[] tokenizeInput(String s)
protected final boolean isNonCommentLine(String line)