File
Doc
Category
Size
Date
Package
FMFile.java
API Doc
Azureus 3.0.3.4
2418
Fri Mar 23 14:10:36 GMT 2007
com.aelitis.azureus.core.diskmanager.file
FMFile
public interface FMFile
author
parg
Fields Summary
public static final int
FT_LINEAR
public static final int
FT_COMPACT
public static final int
FM_READ
public static final int
FM_WRITE
Constructors Summary
Methods Summary
public void
close
()
public void
delete
()
public void
ensureOpen
(
java.lang.String
reason)
public
boolean
exists
()
public void
flush
()
public
int
getAccessMode
()
public
long
getLength
()
public
java.lang.String
getName
()
public
FMFileOwner
getOwner
()
public
int
getStorageType
()
public
boolean
isOpen
()
public void
moveFile
(
java.io.File
new_file)
public void
read
(
org.gudy.azureus2.core3.util.DirectByteBuffer
buffer,
long
offset)
public void
read
(
org.gudy.azureus2.core3.util.DirectByteBuffer[]
buffers,
long
offset)
public void
setAccessMode
(
int
mode)
public void
setLength
(
long
length)
public void
setStorageType
(
int
type)
public void
write
(
org.gudy.azureus2.core3.util.DirectByteBuffer
buffer,
long
position)
public void
write
(
org.gudy.azureus2.core3.util.DirectByteBuffer[]
buffers,
long
position)
Java Code Source