Package apoc.util
Class StreamConnection.FileStreamConnection
java.lang.Object
apoc.util.StreamConnection.FileStreamConnection
- All Implemented Interfaces:
StreamConnection
- Enclosing interface:
- StreamConnection
public static class StreamConnection.FileStreamConnection
extends Object
implements StreamConnection
-
Nested Class Summary
Nested classes/interfaces inherited from interface apoc.util.StreamConnection
StreamConnection.FileStreamConnection, StreamConnection.UrlStreamConnection -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileStreamConnection(File file) FileStreamConnection(String fileName) FileStreamConnection(URI fileName) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface apoc.util.StreamConnection
toCountingInputStream
-
Field Details
-
CANNOT_OPEN_FILE_FOR_READING
- See Also:
-
-
Constructor Details
-
FileStreamConnection
- Throws:
IOException
-
FileStreamConnection
- Throws:
IOException
-
FileStreamConnection
- Throws:
IOException
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceStreamConnection- Throws:
IOException
-
getEncoding
- Specified by:
getEncodingin interfaceStreamConnection
-
getLength
public long getLength()- Specified by:
getLengthin interfaceStreamConnection
-
getName
- Specified by:
getNamein interfaceStreamConnection
-