Package org.drools.io
Class ReaderResource
java.lang.Object
org.drools.io.BaseResource
org.drools.io.ReaderResource
- All Implemented Interfaces:
Externalizable,Serializable,InternalResource,Resource
- See Also:
-
Field Summary
Fields inherited from class org.drools.io.BaseResource
bytes -
Constructor Summary
ConstructorsConstructorDescriptionReaderResource(Reader reader) ReaderResource(Reader reader, String encoding) ReaderResource(Reader reader, String encoding, ResourceType type) ReaderResource(Reader reader, ResourceType type) -
Method Summary
Methods inherited from class org.drools.io.BaseResource
addCategory, equals, getBytes, getCategories, getConfiguration, getDescription, getResourceType, getSourcePath, getTargetPath, hashCode, readExternal, setCategories, setConfiguration, setDescription, setResourceType, setSourcePath, setTargetPath, writeExternalMethods 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
-
ReaderResource
public ReaderResource() -
ReaderResource
-
ReaderResource
-
ReaderResource
-
ReaderResource
-
-
Method Details
-
getURL
- Specified by:
getURLin interfaceInternalResource- Throws:
IOException
-
getInputStream
- Specified by:
getInputStreamin interfaceResource- Throws:
IOException
-
getReader
-
getEncoding
- Specified by:
getEncodingin interfaceInternalResource
-
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
-