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()
String
public InputStream getInputStream() throws IOException
InputStream
for reading this WeaveEnvironment.Resource
.InputStream
IOException
- if unable to readpublic String getName()
WeaveEnvironment.Resource
.String
public OutputStream getOutputStream() throws IOException
OutputStream
for writing to this WeaveEnvironment.Resource
.OutputStream
IOException
- if unable to writeCopyright © 2018 The Apache Software Foundation. All rights reserved.