Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## context.arch.util
Class FileRead

    java.lang.Object
      |
      +--context.arch.util.FileRead

public class FileRead
extends java.lang.Object

This class is a utility class that reads in the contents of a file.

Constructor Summary
`FileRead(java.lang.String file)` Constructor that takes the filename to be read.

Method Summary
`static java.lang.String` | `read()` This method reads in the file and returns the result in a string.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FileRead

    public FileRead(java.lang.String file)

  Constructor that takes the filename to be read.
  Parameters:
    `file` - Name of the file to read

Method Detail

### read

    public static java.lang.String read()

  This method reads in the file and returns the result in a string.
  Returns:
    String containing the contents of the file.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD