org.eclipse.jdt.internal.core
Class UserLibrary

java.lang.Object
  extended by org.eclipse.jdt.internal.core.UserLibrary

public class UserLibrary
extends java.lang.Object

Internal model element to represent a user library and code to serialize / deserialize.


Constructor Summary
UserLibrary(IClasspathEntry[] entries, boolean isSystemLibrary)
           
 
Method Summary
static UserLibrary createFromString(java.io.Reader reader)
           
 boolean equals(java.lang.Object obj)
           
 IClasspathEntry[] getEntries()
           
 int hashCode()
           
 boolean isSystemLibrary()
           
static java.lang.String serialize(IClasspathEntry[] entries, boolean isSystemLibrary)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserLibrary

public UserLibrary(IClasspathEntry[] entries,
                   boolean isSystemLibrary)
Method Detail

getEntries

public IClasspathEntry[] getEntries()

isSystemLibrary

public boolean isSystemLibrary()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

serialize

public static java.lang.String serialize(IClasspathEntry[] entries,
                                         boolean isSystemLibrary)
                                  throws java.io.IOException
Throws:
java.io.IOException

createFromString

public static UserLibrary createFromString(java.io.Reader reader)
                                    throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object