public class Resource
extends java.io.FilterInputStream
| Constructor | Description |
|---|---|
Resource(java.io.InputStream inputStream) |
Constructs a resource of 'unknown' type.
|
Resource(java.lang.String type,
java.io.InputStream inputStream) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getType() |
public Resource(java.lang.String type,
java.io.InputStream inputStream)
type - resource typeinputStream - input stream of the resourcepublic Resource(java.io.InputStream inputStream)
inputStream - input stream of the resourceCopyright 1999-2018 The Apache Software Foundation. All Rights Reserved.