Class JTextFile


  • public class JTextFile
    extends JResourceFile
    Simple text file.
    Author:
    Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      JTextFile​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void build​(java.io.OutputStream out)
      called by JPackage to produce the file image.
      void setContents​(java.lang.String _contents)  
      • Methods inherited from class java.lang.Object

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

      • JTextFile

        public JTextFile​(java.lang.String name)
    • Method Detail

      • setContents

        public void setContents​(java.lang.String _contents)
      • build

        public void build​(java.io.OutputStream out)
                   throws java.io.IOException
        Description copied from class: JResourceFile
        called by JPackage to produce the file image.
        Specified by:
        build in class JResourceFile
        Throws:
        java.io.IOException