public class ResourceData extends Object
Modifier and Type | Method and Description |
---|---|
static ResourceData |
create(InputStream stream,
Dictionary<String,Object> props)
Create an internal resource.
|
File |
getDataFile() |
Dictionary<String,Object> |
getDictionary()
Copy given Dictionary
|
String |
getDigest(String url,
String digest) |
InputStream |
getInputStream()
Return the file
|
public static ResourceData create(InputStream stream, Dictionary<String,Object> props) throws IOException
IOException
- if something is wrongpublic Dictionary<String,Object> getDictionary()
public InputStream getInputStream() throws IOException
IOException
public String getDigest(String url, String digest) throws IOException
IOException
public File getDataFile()
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.