Class AFPResource

    • Constructor Detail

      • AFPResource

        public AFPResource()
        Constructs an AFPResource object. The system and the integrated file system name of the AFP resource must be set later. This constructor is provided for visual application builders that support JavaBeans. It is not intended for use by application programmers.
        See Also:
        PrintObject.setSystem(, setPath(java.lang.String)
      • AFPResource

        public AFPResource(AS400 system,
                   String resourceName)
        Constructs an AFPResource object. It uses the system and resource name that identify it on that system. The system referenced by system must be at V3R7 or later to support using AFP resources.
        system - The system on which this AFP resource exists.
        resourceName - The integrated file system name of the AFP resource. The format of the resource string must be in the format of "/QSYS.LIB/libname.LIB/resourcename.type". Valid values for type include FNTRSC, FORMDF, OVL, PAGSEG, and PAGDFN.