public class Resource
extends java.io.FilterInputStream
| Constructor and 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 and 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-2025 The Apache Software Foundation. All Rights Reserved.