MacPlatform

processing.app.platform

## Class MacPlatform

- Object
- - Platform
  - - MacPlatform

-     public class MacPlatform
      extends Platform

  Platform handler for Mac OS X.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class Platform

      `Platform.CLibrary`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MacPlatform()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `File` | `getDefaultSketchbookFolder()`
    `File` | `getSettingsFolder()`
    `void` | `init(Base base)`

    - ### Methods inherited from class Platform

      `deleteFile, getenv, openFolder, openFolderAvailable, openURL, setenv, setLookAndFeel, unsetenv`

    - ### Methods inherited from class Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MacPlatform

          public MacPlatform()

  - ### Method Detail

    - #### init

          public void init(Base base)

      Overrides:
        `init` in class `Platform`

    - #### getSettingsFolder

          public File getSettingsFolder()
                                 throws Exception

      Overrides:
        `getSettingsFolder` in class `Platform`
      Throws:
        `Exception`

    - #### getDefaultSketchbookFolder

          public File getDefaultSketchbookFolder()
                                          throws Exception

      Overrides:
        `getDefaultSketchbookFolder` in class `Platform`
      Returns:
        if not overridden, a folder named "sketchbook" in user.home.
      Throws:
        `Exception` - so that subclasses can throw a fit