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, setTargetPath
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addCategory, getBytes, getCategories, getConfiguration, getDescription, getResourceType, setCategories, setConfiguration, setDescription, setResourceType
public DescrResource()
public DescrResource(org.kie.api.definition.KieDescr descr)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BaseResource
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BaseResource
IOException
public String getEncoding()
getEncoding
in interface InternalResource
public URL getURL() throws IOException
getURL
in interface InternalResource
IOException
public InputStream getInputStream() throws IOException
getInputStream
in interface org.kie.api.io.Resource
IOException
public Reader getReader() throws IOException
getReader
in interface org.kie.api.io.Resource
IOException
public long getLastModified()
getLastModified
in interface InternalResource
public long getLastRead()
getLastRead
in interface InternalResource
public org.kie.api.definition.KieDescr getDescr()
public boolean isDirectory()
isDirectory
in interface InternalResource
public Collection<org.kie.api.io.Resource> listResources()
listResources
in interface InternalResource
public boolean hasURL()
hasURL
in interface InternalResource
public String toString()
toString
in class BaseResource
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.