public class Resource extends FilterInputStream
in
Constructor and Description |
---|
Resource(InputStream inputStream)
Constructs a resource of 'unknown' type.
|
Resource(String type,
InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
String |
getType() |
available, close, mark, markSupported, read, read, read, reset, skip
public Resource(String type, InputStream inputStream)
type
- resource typeinputStream
- input stream of the resourcepublic Resource(InputStream inputStream)
inputStream
- input stream of the resourcepublic String getType()
Copyright © 2023 Apache Software Foundation. All rights reserved.