|
|
| Constructors |
public FileChooser() public FileChooser(String path) |
| File extension filters |
public void setExtension(String extension) public void setAllExtensions() public String getExtension() |
| Directory path |
public void setPath(String path) public String getPath() |
| Open an Open File dialog window and select a file |
public String selectFile() public String selectFile(String windowTitle) |
| End the program | public static final synchronized void.endProgram() | System.exit(0) |
| METHODS INHERITED FROM THE SUPERCLASS, FileInput | |
| Get the file name | public String getFileName() |
| Get the file name minus its extension | public String getStemName() |
| Get the path name | public String getPathName() |
| Get the directory path | public String getDirPath() |
| Read a double floating point number (double) | public final synchronized double readDouble() |
| Read a float floating point number (float) | public final synchronized float readFloat() |
| Read a BigDecimal number (BigDecimal) | public final synchronized BigDecimal readBigDecimal() |
| Read an integer (int) | public final synchronized int readInt() |
| Read a long integer (long) | public final synchronized long readLong() |
| Read a big integer (BigInteger) | public final synchronized BigInteger readBigInteger() |
| Read a short integer (short) | public final synchronized short readShort() |
| Read a byte integer (byte) | public final synchronized byte readByte() |
| Read a character (char) | public final synchronized char readChar() |
| Read a word of text (String) | public final synchronized String readWord() |
| Read a line of text (String) | public final synchronized String readLine() |
| Read a complex number (Complex) | public final synchronized Complex readComplex() |
| Read a phasor number (Phasor) | public final synchronized Phasor readPhasor() |
| Read true or false (boolean) | public final synchronized boolean readBoolean() |
| Number of lines in the file | public final synchronized int numberOfLines() |
| End of line status | public String eol() |
| End of file status | public String eof() |
| File existence status | public boolean fileFound() |
| Close the file | public final synchronized void close() |