public class WeaveEnvironment.Resource extends Object
WeaveEnvironment resource.| Modifier and Type | Method and Description | 
|---|---|
String | 
getContentType()
Get the content type, always "application/octet-stream". 
 | 
InputStream | 
getInputStream()
Get an  
InputStream for reading this WeaveEnvironment.Resource. | 
String | 
getName()
Get the name of this  
WeaveEnvironment.Resource. | 
OutputStream | 
getOutputStream()
Get an  
OutputStream for writing to this WeaveEnvironment.Resource. | 
public String getContentType()
Stringpublic InputStream getInputStream() throws IOException
InputStream for reading this WeaveEnvironment.Resource.InputStreamIOException - if unable to readpublic String getName()
WeaveEnvironment.Resource.Stringpublic OutputStream getOutputStream() throws IOException
OutputStream for writing to this WeaveEnvironment.Resource.OutputStreamIOException - if unable to writeCopyright © 2018 The Apache Software Foundation. All rights reserved.