org.drools.io.impl
Class URLClassPathResource

java.lang.Object
  extended by org.drools.io.impl.BaseResource
      extended by org.drools.io.impl.URLClassPathResource
All Implemented Interfaces:
Serializable, InternalResource, org.drools.io.Resource

public class URLClassPathResource
extends BaseResource

See Also:
Serialized Form

Constructor Summary
URLClassPathResource(String path)
           
 
Method Summary
 InputStream getInputStream()
           
 long getLastModified()
           
 long getLastRead()
           
 Reader getReader()
           
 URL getURL()
           
 boolean hasURL()
           
 boolean isDirectory()
           
 Collection<org.drools.io.Resource> listResources()
           
 String toString()
           
 
Methods inherited from class org.drools.io.impl.BaseResource
getConfiguration, getResourceType, setConfiguration, setResourceType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URLClassPathResource

public URLClassPathResource(String path)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getURL

public URL getURL()
           throws IOException
Throws:
IOException

hasURL

public boolean hasURL()

isDirectory

public boolean isDirectory()

listResources

public Collection<org.drools.io.Resource> listResources()

getLastModified

public long getLastModified()

getLastRead

public long getLastRead()

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

getReader

public Reader getReader()
                 throws IOException
Throws:
IOException


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.