org.drools.io.impl
Class DescrResource
java.lang.Object
org.drools.io.impl.BaseResource
org.drools.io.impl.DescrResource
- All Implemented Interfaces:
- Serializable, InternalResource, org.drools.io.Resource
public class DescrResource
- extends BaseResource
- implements InternalResource
- See Also:
- Serialized Form
|
Constructor Summary |
DescrResource(org.drools.definition.KnowledgeDescr descr)
|
| Methods inherited from class org.drools.io.impl.BaseResource |
addCategory, getCategories, getConfiguration, getDescription, getName, getResourceType, setCategories, setConfiguration, setDescription, setName, setResourceType |
| Methods inherited from interface org.drools.io.internal.InternalResource |
addCategory, getCategories, getConfiguration, getDescription, getName, getResourceType, setCategories, setConfiguration, setDescription, setName, setResourceType |
DescrResource
public DescrResource(org.drools.definition.KnowledgeDescr descr)
getURL
public URL getURL()
throws IOException
- Specified by:
getURL in interface InternalResource
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream in interface org.drools.io.Resource
- Throws:
IOException
getReader
public Reader getReader()
throws IOException
- Specified by:
getReader in interface org.drools.io.Resource
- Throws:
IOException
getLastModified
public long getLastModified()
- Specified by:
getLastModified in interface InternalResource
getLastRead
public long getLastRead()
- Specified by:
getLastRead in interface InternalResource
getDescr
public org.drools.definition.KnowledgeDescr getDescr()
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory in interface InternalResource
listResources
public Collection<org.drools.io.Resource> listResources()
- Specified by:
listResources in interface InternalResource
hasURL
public boolean hasURL()
- Specified by:
hasURL in interface InternalResource
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.