Package org.burningwave.core.io
Class FileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.burningwave.core.io.FileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable,Cleanable,Closeable,Component,Identifiable,Properties.Listener,Memorizer
public class FileInputStream extends FileInputStream implements Component
-
Method Summary
Modifier and Type Method Description voidclose()static FileInputStreamcreate(File file)static FileInputStreamcreate(String absolutePath)StringgetAbsolutePath()FilegetFile()byte[]toByteArray()ByteBuffertoByteBuffer()Methods inherited from class java.io.FileInputStream
available, getChannel, getFD, read, read, read, skipMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationIdMethods inherited from interface org.burningwave.core.Memorizer
getOrCreateTemporaryFolder, getOrCreateTemporaryFolder, getTemporaryFolderPrefixMethods inherited from interface org.burningwave.core.iterable.Properties.Listener
listenTo, processChangeNotification, unregister
-
Method Details
-
create
-
create
-
getFile
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream
-
getAbsolutePath
-
toByteArray
public byte[] toByteArray() -
toByteBuffer
-