org.drools.io.impl
Class URLClassPathResource
java.lang.Object
org.drools.io.impl.BaseResource
org.drools.io.impl.URLClassPathResource
- All Implemented Interfaces:
- Serializable, InternalResource, org.drools.io.Resource
public class URLClassPathResource
- extends BaseResource
- See Also:
- Serialized Form
URLClassPathResource
public URLClassPathResource(String path)
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.