Class KieBuilderSetImpl.DummyResource

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, org.drools.io.InternalResource, org.kie.api.io.Resource
    Enclosing class:
    KieBuilderSetImpl

    public static class KieBuilderSetImpl.DummyResource
    extends org.drools.io.BaseResource
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.drools.io.BaseResource

        bytes
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEncoding()  
      java.io.InputStream getInputStream()  
      java.io.Reader getReader()  
      java.net.URL getURL()  
      boolean hasURL()  
      boolean isDirectory()  
      java.util.Collection<org.kie.api.io.Resource> listResources()  
      • 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, toString, writeExternal
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DummyResource

        public DummyResource​(java.lang.String resourceName)
      • DummyResource

        public DummyResource()
    • Method Detail

      • getURL

        public java.net.URL getURL()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • hasURL

        public boolean hasURL()
      • isDirectory

        public boolean isDirectory()
      • listResources

        public java.util.Collection<org.kie.api.io.Resource> listResources()
      • getEncoding

        public java.lang.String getEncoding()
      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getReader

        public java.io.Reader getReader()
                                 throws java.io.IOException
        Throws:
        java.io.IOException