org.richfaces.javascript

## Class LibraryResource

- java.lang.Object
- - org.richfaces.javascript.LibraryResource

-     public class LibraryResource
      extends Object

  This class represent information about external JavaScript library as JSF resource
  Author:
    asmirnov

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LibraryResource(String library, String resourceName)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `String` | `getLibrary()`
    `String` | `getResourceName()`
    `int` | `hashCode()`
    `static Iterable<LibraryResource>` | `of(Iterable<LibraryScriptString> scripts)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### LibraryResource

          public LibraryResource(String library,
                         String resourceName)

      Parameters:
        `library` -
        `resourceName` -

  - ### Method Detail

    - #### getLibrary

          public String getLibrary()

      Returns:
        the library

    - #### getResourceName

          public String getResourceName()

      Returns:
        the resourceName

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### of

          public static Iterable<LibraryResource> of(Iterable<LibraryScriptString> scripts)

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.