|
|
Constructors |
public MultipleFilesChooser() public MultipleFilesChooser(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 the files |
public FileInput[] selectFiles() public FileInput[] selectFiles(String windowTitle) |
Get the file names | public String[] getFileNames() |
Get the file names minus their extensions | public String[] getStemNames() |
Get the path names | public String[] getPathNames() |
Get the directory paths | public String[] getDirPaths() |
Get the number of files selected | public int[] getNumberOfFiles() |
Close an individual file or close all files | public final synchronized void close() |
End the program | public static final synchronized void.endProgram() | System.exit(0) |
Methods from the associated class FileInput | |
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 (Phasor) | public final synchronized Phasor readPhasor() |
Read true or false (boolean) | public final synchronized boolean readBoolean() |
Number of lines in the files | public final synchronized int numberOfLines() |
End of lile status | public String eol() |
End of file status | public String eof() |
File existence status | public boolean fileFound() |
Close an individual file or close all files | public final synchronized void close() |