Package de.swa.gmaf

Class TempFileProvider

java.lang.Object
de.swa.gmaf.TempFileProvider

public class TempFileProvider
extends java.lang.Object
this class provides temporary files based on byte arrays, useful if a plugin can only process files
  • Constructor Summary

    Constructors 
    Constructor Description
    TempFileProvider()  
  • Method Summary

    Modifier and Type Method Description
    static java.io.File provideTempFile​(byte[] bytes, java.lang.String suffix, java.lang.String original_file)
    receives a byte array, creates a temp file and returns the File object

    Methods inherited from class java.lang.Object

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

  • Method Details

    • provideTempFile

      public static java.io.File provideTempFile​(byte[] bytes, java.lang.String suffix, java.lang.String original_file)
      receives a byte array, creates a temp file and returns the File object