com.atlassian.aws.ec2.configuration
Class ImageFileDao

java.lang.Object
  extended by com.atlassian.aws.ec2.configuration.ImageFileDao

public class ImageFileDao
extends Object


Method Summary
static String getPropertyName(Object... args)
           
static ImageData read(File amiIDFile)
           
static ImageData read(InputStream fis)
           
static ImageData readArtifact(String artifactId)
           
static ImageData readOrCreate(File amiIDFile)
           
static void write(ImageData imageData, File amiIDFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPropertyName

public static String getPropertyName(Object... args)

readOrCreate

@NotNull
public static ImageData readOrCreate(File amiIDFile)
                              throws IOException
Throws:
IOException

read

@NotNull
public static ImageData read(File amiIDFile)
                      throws IOException
Throws:
IOException

read

public static ImageData read(@Nullable
                             InputStream fis)
                      throws IOException
Throws:
IOException

readArtifact

public static ImageData readArtifact(@NotNull
                                     String artifactId)
                              throws IOException
Throws:
IOException

write

public static void write(ImageData imageData,
                         File amiIDFile)
                  throws IOException
Throws:
IOException


Copyright © 2015 Atlassian. All rights reserved.