Class MakeDirectory


  • public class MakeDirectory
    extends java.lang.Object
    This sample demonstrates how to create a new directory. The directory name is given as an argument to main, and it may be either a HFS directory or a PDS directory.
    Since:
    2.4.0
    See Also:
    ZFile
    • Constructor Summary

      Constructors 
      Constructor Description
      MakeDirectory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The main method accepts a directory name as the only argument and calls makeDirectory(String) to create that directory.
      • Methods inherited from class java.lang.Object

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

      • MakeDirectory

        public MakeDirectory()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        The main method accepts a directory name as the only argument and calls makeDirectory(String) to create that directory.
        Parameters:
        args - The name of the directory to create
        Throws:
        java.lang.Exception