public class MessageFileInputStream
extends java.io.FileInputStream
MessageFileInputStream.close()
on it at a finally block as usually done for a typical input
streamConstructor and Description |
---|
MessageFileInputStream(MessageFile messageFile) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Release the message file and closes any file descriptors associated
|
public MessageFileInputStream(MessageFile messageFile) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FileInputStream
java.io.IOException