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 FileAccessIOExceptionprotected StringBuilder getStringBuilderToHoldFileContents()
protected BufferedReader getBufferedReaderForFile(String fileName) throws FileNotFoundException
FileNotFoundExceptionprotected final void readContentIntoStringBuilder(BufferedReader in, StringBuilder s) throws IOException
IOExceptionprotected final String[] tokenizeInput(String s)
protected final boolean isNonCommentLine(String line)