Package de.swa.gmaf

Class TempURLProvider

java.lang.Object
de.swa.gmaf.TempURLProvider

public class TempURLProvider
extends java.lang.Object
this class provides temporary URLs based on byte arrays. Useful, if a plugin can only process online images.
  • Constructor Summary

    Constructors 
    Constructor Description
    TempURLProvider()  
  • Method Summary

    Modifier and Type Method Description
    static java.net.URL provideTempUrl​(byte[] bytes, java.lang.String suffix)
    uploads an array of bytes to a URL and returns the corresponding object

    Methods inherited from class java.lang.Object

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

  • Method Details

    • provideTempUrl

      public static java.net.URL provideTempUrl​(byte[] bytes, java.lang.String suffix)
      uploads an array of bytes to a URL and returns the corresponding object