Package net.jsign.pe
Class DataDirectory
- java.lang.Object
-
- net.jsign.pe.DataDirectory
-
public class DataDirectory extends Object
Entry of the data directory.- Since:
- 1.0
- Author:
- Emmanuel Bourg
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderase()Fill the data directory with zeros.booleanexists()intgetSize()longgetVirtualAddress()booleanisTrailing()Tells if the data directory is at the end of the file.voidwrite(long virtualAddress, int size)
-
-
-
Method Detail
-
getVirtualAddress
public long getVirtualAddress()
-
getSize
public int getSize()
-
exists
public boolean exists()
-
erase
public void erase()
Fill the data directory with zeros.- Since:
- 2.0
-
isTrailing
public boolean isTrailing() throws IOException
Tells if the data directory is at the end of the file.- Returns:
trueif the data directory is at the end of the file,falseotherwise- Throws:
IOException- if an I/O error occurs- Since:
- 2.0
-
write
public void write(long virtualAddress, int size)
-
-