public static class InputStreamFactory.FileInputStreamFactory extends InputStreamFactory
InputStreamFactory.BlobInputStreamFactory, InputStreamFactory.ClobInputStreamFactory, InputStreamFactory.FileInputStreamFactory, InputStreamFactory.SQLXMLInputStreamFactory, InputStreamFactory.StorageMode, InputStreamFactory.StreamFactoryReferencelength| Constructor and Description |
|---|
FileInputStreamFactory(File f) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get a new InputStream
|
long |
getLength()
Length in bytes of the
InputStream |
InputStreamFactory.StorageMode |
getStorageMode() |
free, getCharacterStream, getStorageMode, getSystemId, setLength, setSystemIdpublic FileInputStreamFactory(File f)
public long getLength()
InputStreamFactoryInputStreamgetLength in class InputStreamFactorypublic InputStream getInputStream() throws IOException
InputStreamFactorygetInputStream in class InputStreamFactoryIOExceptionpublic InputStreamFactory.StorageMode getStorageMode()
getStorageMode in class InputStreamFactoryCopyright © 2018 JBoss by Red Hat. All rights reserved.