@ThreadSafe public class RandomAccessFiles extends Object implements IFiles
RandomAccessFile
文件打开方式常量
RandomAccessFiles(String path)
byte[]
read(long startIndex, long endIndex)
String
read(long startIndex, long endIndex, String charset)
void
write(long startIndex, byte[] bytes)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RandomAccessFiles(String path)
public byte[] read(long startIndex, long endIndex)
IFiles
read
startIndex
endIndex
public String read(long startIndex, long endIndex, String charset)
charset
public void write(long startIndex, byte[] bytes)
write
bytes
Copyright © 2024. All rights reserved.