|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectseniorproj.ChooseFile
public class ChooseFile
Class used to open saved Warehouse states and save current states. It filters for .txt files and when opening and saves to your current working directory when saving.
Constructor Summary | |
---|---|
ChooseFile()
Constructor used to initialize the filter for opening saved Warehouse states. |
Method Summary | |
---|---|
static void |
openFile(java.lang.String name,
java.lang.String path)
Parses through a text file containing a saved state of a data warehouse. |
static void |
saveState()
Saves the current state of the warehouse in a .txt file named WarehouseState.txt in your current working directory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChooseFile()
Method Detail |
---|
public static void openFile(java.lang.String name, java.lang.String path)
name
- Name of the file to be openedpath
- The path where the file can be foundpublic static void saveState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |