Class ClasspathImpExResource

  • All Implemented Interfaces:
    ImpExResource

    public class ClasspathImpExResource
    extends java.lang.Object
    implements ImpExResource
    Implementation which lets you provide an impex resource via a classpath resource.
    Since:
    4.3.1
    • Constructor Summary

      Constructors 
      Constructor Description
      ClasspathImpExResource​(java.lang.String resource, java.lang.String encoding)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ImpExMediaModel getMedia()
      Gets the impex media created by this resource.
      void setCode​(java.lang.String code)
      Sets a code for the resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClasspathImpExResource

        public ClasspathImpExResource​(java.lang.String resource,
                                      java.lang.String encoding)
    • Method Detail

      • setCode

        public void setCode​(java.lang.String code)
        Sets a code for the resource.
        Parameters:
        code - code for resource