processing.app.platform

## Class WindowsPlatform

- Object
- - DefaultPlatform
  - - WindowsPlatform

-     public class WindowsPlatform
      extends DefaultPlatform

  Platform-specific glue for Windows.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `WindowsPlatform.WinLibC`

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

      `DefaultPlatform.CLibrary`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WindowsPlatform()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `File` | `getDefaultSketchbookFolder()` Get the Documents and Settings\name\My Documents\Processing folder.
    `String` | `getenv(String variable)`
    `File` | `getSettingsFolder()` This function should throw an exception or return a value.
    `void` | `initBase(Base base)`
    `void` | `setenv(String variable, String value)`
    `int` | `unsetenv(String variable)`

    - ### Methods inherited from class DefaultPlatform

      `openFolder, openFolderAvailable, openURL, saveLanguage, setLookAndFeel`

    - ### Methods inherited from class Object

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

- - ### Constructor Detail

    - #### WindowsPlatform

          public WindowsPlatform()

  - ### Method Detail

    - #### initBase

          public void initBase(Base base)

      Overrides:
        `initBase` in class `DefaultPlatform`

    - #### getSettingsFolder

          public File getSettingsFolder()
                                 throws Exception

      Description copied from class: `DefaultPlatform`
      This function should throw an exception or return a value. Do not return null.
      Overrides:
        `getSettingsFolder` in class `DefaultPlatform`
      Throws:
        `Exception`

    - #### getDefaultSketchbookFolder

          public File getDefaultSketchbookFolder()
                                          throws Exception

      Get the Documents and Settings\name\My Documents\Processing folder.
      Overrides:
        `getDefaultSketchbookFolder` in class `DefaultPlatform`
      Returns:
        if not overridden, a folder named "sketchbook" in user.home.
      Throws:
        `Exception` - so that subclasses can throw a fit

    - #### setenv

          public void setenv(String variable,
                             String value)

      Overrides:
        `setenv` in class `DefaultPlatform`

    - #### getenv

          public String getenv(String variable)

      Overrides:
        `getenv` in class `DefaultPlatform`

    - #### unsetenv

          public int unsetenv(String variable)

      Overrides:
        `unsetenv` in class `DefaultPlatform`