Package processing.app
Class Base
java.lang.Object
processing.app.Base
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic FilegetSettingsFile(String filename) Convenience method to get a File object for the specified filename inside the settings folder.static FileGet the directory that can store settings.static File
-
Constructor Details
-
Base
public Base()
-
-
Method Details
-
getRevision
public static int getRevision()- Returns:
- the current revision number, safe to be used for update checks
-
getSettingsFolder
Get the directory that can store settings. (Library on OS X, App Data or something similar on Windows, a dot folder on Linux.) Removed this as a preference for 3.0a3 because we need this to be stable, but adding back for 4.0 beta 4 so that folks can do 'portable' versions again. -
getSettingsOverride
-
getSettingsFile
Convenience method to get a File object for the specified filename inside the settings folder. Used to get preferences and recent sketch files.- Parameters:
filename- A file inside the settings folder.- Returns:
- filename wrapped as a File object inside the settings folder
-