Package org.drools.io
Class DescrResource
java.lang.Object
org.drools.io.BaseResource
org.drools.io.DescrResource
- All Implemented Interfaces:
Externalizable,Serializable,InternalResource,Resource
- See Also:
-
Field Summary
Fields inherited from class org.drools.io.BaseResource
bytes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.drools.io.BaseResource
addCategory, equals, getBytes, getCategories, getConfiguration, getDescription, getResourceType, getSourcePath, getTargetPath, hashCode, setCategories, setConfiguration, setDescription, setResourceType, setSourcePath, setTargetPathMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.io.InternalResource
addCategory, getBytes, getCategories, getConfiguration, getDescription, getResourceType, setCategories, setConfiguration, setDescription, setResourceTypeMethods inherited from interface org.kie.api.io.Resource
getSourcePath, getTargetPath, setSourcePath, setTargetPath
-
Constructor Details
-
DescrResource
public DescrResource() -
DescrResource
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classBaseResource- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classBaseResource- Throws:
IOException
-
getEncoding
- Specified by:
getEncodingin interfaceInternalResource
-
getURL
- Specified by:
getURLin interfaceInternalResource- Throws:
IOException
-
getInputStream
- Specified by:
getInputStreamin interfaceResource- Throws:
IOException
-
getReader
- Specified by:
getReaderin interfaceResource- Throws:
IOException
-
getDescr
-
isDirectory
public boolean isDirectory()- Specified by:
isDirectoryin interfaceInternalResource
-
listResources
- Specified by:
listResourcesin interfaceInternalResource
-
hasURL
public boolean hasURL()- Specified by:
hasURLin interfaceInternalResource
-
toString
- Overrides:
toStringin classBaseResource
-