org.statcato.file
Class FileOperations
- java.lang.Object
-
- org.statcato.file.FileOperations
-
public class FileOperations extends java.lang.ObjectA collection of file operations.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor and Description FileOperations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.io.FilegetRecentDatasheet()Returns the recent datasheet file.static java.io.FilegetRecentProject()Returns the recent project file.static voidopenDatasheet(Statcato app)Opens a datasheetstatic voidopenLogFile(Statcato app)Opens a log.static voidopenProjectFile(Statcato app)Opens a project.static voidsaveDatasheet(Statcato app, boolean isSaveAs)Saves the current datasheet of the application to a file.static voidsaveProject(Statcato app, boolean isSaveAs)Saves the current project of the application to a file.
-
-
-
Method Detail
-
openLogFile
public static void openLogFile(Statcato app)
Opens a log.- Parameters:
app- parent application
-
openDatasheet
public static void openDatasheet(Statcato app)
Opens a datasheet- Parameters:
app- parent application
-
openProjectFile
public static void openProjectFile(Statcato app)
Opens a project.- Parameters:
app- parent application
-
saveDatasheet
public static void saveDatasheet(Statcato app, boolean isSaveAs)
Saves the current datasheet of the application to a file.- Parameters:
app- Statcato applicationisSaveAs- whether to save as
-
saveProject
public static void saveProject(Statcato app, boolean isSaveAs)
Saves the current project of the application to a file.- Parameters:
app- Statcato applicationisSaveAs- whether to save as
-
getRecentDatasheet
public static java.io.File getRecentDatasheet()
Returns the recent datasheet file.- Returns:
- recent datasheet file
-
getRecentProject
public static java.io.File getRecentProject()
Returns the recent project file.- Returns:
- recent project file
-
-
DMelt 3.0 © DataMelt by jWork.ORG