public class ResourceHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceHelper.Format |
Constructor and Description |
---|
ResourceHelper() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
generateImage() |
static byte[] |
generateImage(ResourceHelper.Format format) |
static byte[] |
load(String resource,
byte[] defaultResult) |
static byte[] |
loadAsByte(String resource) |
public static byte[] loadAsByte(String resource)
public static byte[] load(String resource, byte[] defaultResult)
public static byte[] generateImage()
public static byte[] generateImage(ResourceHelper.Format format)
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.