# Class Library

java.lang.Object
org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
org.gradle.plugins.ide.eclipse.model.AbstractLibrary
org.gradle.plugins.ide.eclipse.model.Library

All Implemented Interfaces:
  `ClasspathEntry`

Direct Known Subclasses:
  `UnresolvedLibrary`

public class Library extends AbstractLibrary
A classpath entry representing a library.

- ## Field Summary

  ### Fields inherited from class AbstractClasspathEntry

  `accessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Library(Node node, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory)`
  `Library(FileReference library)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getKind()`
  `String`
  `toString()`

  ### Methods inherited from class AbstractLibrary

  `appendNode, equals, getJavadocPath, getLibrary, getModuleVersion, getSourcePath, hashCode, setJavadocPath, setLibrary, setModuleVersion, setSourcePath`

  ### Methods inherited from class AbstractClasspathEntry

  `addClasspathEntry, getAccessRules, getEntryAttributes, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributes`

  ### Methods inherited from class Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Library

    public Library(Node node, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory)

  - ### Library

    public Library(FileReference library)

- ## Method Details

  - ### getKind

    public String getKind()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `AbstractLibrary`