org.jboss.testharness.impl.packaging
Class ResourceDescriptorImpl

java.lang.Object
  extended by org.jboss.testharness.impl.packaging.ResourceDescriptorImpl
All Implemented Interfaces:
ResourceDescriptor

public class ResourceDescriptorImpl
extends Object
implements ResourceDescriptor


Constructor Summary
ResourceDescriptorImpl(String name, InputStream source)
           
ResourceDescriptorImpl(String name, String source)
           
ResourceDescriptorImpl(String name, URL source)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 URL getSource()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceDescriptorImpl

public ResourceDescriptorImpl(String name,
                              InputStream source)
                       throws IOException
Throws:
IOException

ResourceDescriptorImpl

public ResourceDescriptorImpl(String name,
                              URL source)

ResourceDescriptorImpl

public ResourceDescriptorImpl(String name,
                              String source)
Method Detail

getName

public String getName()
Specified by:
getName in interface ResourceDescriptor

getSource

public URL getSource()
Specified by:
getSource in interface ResourceDescriptor

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010. All Rights Reserved.