Class NarUnpacker


  • public class NarUnpacker
    extends java.lang.Object
    Helper class to unpack NARs.
    • Constructor Summary

      Constructors 
      Constructor Description
      NarUnpacker()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.File unpackNar​(java.io.File nar, java.io.File baseWorkingDirectory)
      Unpacks the specified nar into the specified base working directory.
      • Methods inherited from class java.lang.Object

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

      • NarUnpacker

        public NarUnpacker()
    • Method Detail

      • unpackNar

        public static java.io.File unpackNar​(java.io.File nar,
                                             java.io.File baseWorkingDirectory)
                                      throws java.io.IOException
        Unpacks the specified nar into the specified base working directory.
        Parameters:
        nar - the nar to unpack
        baseWorkingDirectory - the directory to unpack to
        Returns:
        the directory to the unpacked NAR
        Throws:
        java.io.IOException - if unable to explode nar