processing.app.contrib

## Class LocalContribution

- Object
- - Contribution
  - - LocalContribution

- Direct Known Subclasses:
    Library, ModeContribution, ToolContribution

      public abstract class LocalContribution
      extends Contribution

  A contribution that has been downloaded to the disk, and may or may not be installed.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `DELETION_FLAG`
    `static String` | `RESTART_FLAG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocalContribution(File folder)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `File` | `getFolder()`
    `String` | `getId()`
    `int` | `getLatestVersion()`
    `String` | `initLoader(String className)`
    `boolean` | `isInstalled()`

    - ### Methods inherited from class Contribution

      `getAuthorList, getName, getParagraph, getPrettyVersion, getSentence, getType, getTypeName, getUrl, getVersion`

    - ### Methods inherited from class Object

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

- - ### Field Detail

    - #### DELETION_FLAG

          public static final String DELETION_FLAG

      See Also:
        Constant Field Values

    - #### RESTART_FLAG

          public static final String RESTART_FLAG

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### LocalContribution

          public LocalContribution(File folder)

  - ### Method Detail

    - #### initLoader

          public String initLoader(String className)
                            throws Exception

      Throws:
        `Exception`

    - #### getFolder

          public File getFolder()

    - #### isInstalled

          public boolean isInstalled()

      Specified by:
        `isInstalled` in class `Contribution`

    - #### getId

          public String getId()

    - #### getLatestVersion

          public int getLatestVersion()