Class TestTextListOutStream.TestIFile
- java.lang.Object
-
- com._1c.g5.v8.dt.core.streams.impl.TestTextListOutStream.TestIFile
-
- All Implemented Interfaces:
IFile
- Enclosing class:
- TestTextListOutStream
public static class TestTextListOutStream.TestIFile extends Object implements IFile
testing implementation of IFile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.core.streams.IFile
IFile.SeekOrigin
-
-
Constructor Summary
Constructors Constructor Description TestIFile(RandomAccessFile file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomAccessFile
getFile()
int
read(byte[] buffer, int size)
reads from the file into a buffer.String
url()
file's url - may be empty for non-file based IFile implementations.void
write(byte[] buffer, int size)
writes into the file from a buffer
-
-
-
Constructor Detail
-
TestIFile
public TestIFile(RandomAccessFile file)
-
-
Method Detail
-
getFile
public RandomAccessFile getFile()
-
url
public String url()
Description copied from interface:IFile
file's url - may be empty for non-file based IFile implementations.
-
read
public int read(byte[] buffer, int size)
Description copied from interface:IFile
reads from the file into a buffer.
-
-