public class DescrResource extends BaseResource implements InternalResource, Externalizable
| Constructor and Description |
|---|
DescrResource() |
DescrResource(org.kie.api.definition.KieDescr descr) |
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.definition.KieDescr |
getDescr() |
String |
getEncoding() |
InputStream |
getInputStream() |
long |
getLastModified() |
long |
getLastRead() |
Reader |
getReader() |
URL |
getURL() |
boolean |
hasURL() |
boolean |
isDirectory() |
Collection<org.kie.api.io.Resource> |
listResources() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
addCategory, equals, getBytes, getCategories, getConfiguration, getDescription, getResourceType, getSourcePath, getTargetPath, hashCode, setCategories, setConfiguration, setDescription, setResourceType, setSourcePath, setTargetPathclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddCategory, getBytes, getCategories, getConfiguration, getDescription, getResourceType, setCategories, setConfiguration, setDescription, setResourceTypepublic DescrResource()
public DescrResource(org.kie.api.definition.KieDescr descr)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class BaseResourceIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class BaseResourceIOExceptionpublic String getEncoding()
getEncoding in interface InternalResourcepublic URL getURL() throws IOException
getURL in interface InternalResourceIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface org.kie.api.io.ResourceIOExceptionpublic Reader getReader() throws IOException
getReader in interface org.kie.api.io.ResourceIOExceptionpublic long getLastModified()
getLastModified in interface InternalResourcepublic long getLastRead()
getLastRead in interface InternalResourcepublic org.kie.api.definition.KieDescr getDescr()
public boolean isDirectory()
isDirectory in interface InternalResourcepublic Collection<org.kie.api.io.Resource> listResources()
listResources in interface InternalResourcepublic boolean hasURL()
hasURL in interface InternalResourcepublic String toString()
toString in class BaseResourceCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.