public class DataDirectory extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
erase()
Fill the data directory with zeros.
|
boolean |
exists() |
int |
getSize() |
long |
getVirtualAddress() |
boolean |
isTrailing()
Tells if the data directory is at the end of the file.
|
void |
write(long virtualAddress,
int size) |
public void erase()
public boolean exists()
public int getSize()
public long getVirtualAddress()
public boolean isTrailing() throws IOException
true if the data directory is at the end of the file, false otherwiseIOException - if an I/O error occurspublic void write(long virtualAddress, int size)
Copyright © 2012–2020. All rights reserved.