2@Version(value =
"1.0.0.12")
6 public static class FileInputStream : Stream{
16 if (filehandler == -1){
24 String path = file.getPath();
29 if (filehandler == -1){
41 if (filehandler == -1){
49 String path = file.getPath();
54 if (filehandler == -1){
59 String path = dir.getPath();
65 if (filehandler == -1){
70 if (filehandler != -1){
78 return filehandler != -1;
82 if (filehandler == -1){
87 return length() - getPosition();
106 return _system_.
read(filehandler, data, position, length);
109 public int write(@NotNilptr
byte [] ,
int ,
int )
override{
114 if (filehandler != -1){
127 public static class FileOutputStream :
Stream{
134 if (filehandler == -1){
143 if (filehandler == -1){
152 if (filehandler == -1){
158 String path = file.getPath();
163 if (filehandler == -1){
168 String path = file.getPath();
173 if (filehandler == -1){
178 String path = file.getPath();
183 if (filehandler == -1){
188 String path = dir.getPath();
194 if (filehandler == -1){
199 if (filehandler != -1){
207 return filehandler != -1;
210 if (filehandler == -1){
217 public long seek(
int ,
long )
override{
230 public int read(@NotNilptr
byte [] ,
int ,
int )
override{
245 if (filehandler != -1){
static final long read(long, byte[], long, long)
static final long getLength(long)
static final long open(String, int)
static final long getSeek(long)
static final long write(long, byte[], long, long)
static final long seek(long, int, long)
static final bool close(long)
int write(byte [] data , int position, int length) override
FileOutputStream(@NotNilptr File file, int mode)
FileOutputStream(@NotNilptr File dir,@NotNilptr String file, bool append)
long seek(int , long ) override
FileOutputStream(@NotNilptr File file, bool append)
int read(@NotNilptr byte [] , int , int ) override
FileOutputStream(@NotNilptr File file)
FileOutputStream(String path, int mode)
long getPosition() override
FileOutputStream(String path, bool append)
long write(@NotNilptr byte [] data)
FileOutputStream(String path)
bool attach(String path, bool append)
long available(bool ) override
String appendPath(String)