Class PayloadFilesManager.Temp

java.lang.Object
org.glassfish.admin.payload.PayloadFilesManager
org.glassfish.admin.payload.PayloadFilesManager.Temp
Enclosing class:
PayloadFilesManager

public static class PayloadFilesManager.Temp extends PayloadFilesManager
Extracts files from a payload, treating them as temporary files. The caller should invoke cleanup() once it is finished with the extracted files, although the finalizer will invoke cleanup if the caller has not.
  • Constructor Details

    • Temp

      public Temp(File parentDir, org.glassfish.api.ActionReport report, Logger logger) throws IOException
      Throws:
      IOException
    • Temp

      public Temp(org.glassfish.api.ActionReport report, Logger logger) throws IOException
      Creates a new PayloadFilesManager for temporary files.
      Parameters:
      report - results report to which extraction results will be appended
      logger - logger to receive messages
      Throws:
      IOException
    • Temp

      public Temp(Logger logger) throws IOException
      Creates a new PayloadFilesManager for temporary files.
      Parameters:
      logger - logger to receive messages
      Throws:
      IOException
  • Method Details