|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.mdxfmt.MdxFile
public class MdxFile
The MDX index file. Used with the global index. This is located at the family level in the windows registry and can perhaps index across different products (and maybe families), although such a thing hasn't been seen.
Constructor Summary | |
---|---|
MdxFile(int familyId,
int productId)
Create with default family and product ids. |
Method Summary | |
---|---|
void |
addMap(int name)
Add a map with the default family and product id's and with equal name and hexname. |
static void |
main(java.lang.String[] args)
Create a file for testing. |
void |
write(java.lang.String filename)
Write the file out to the given filename. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MdxFile(int familyId, int productId)
familyId
- The default family id that will be used if no other one
is supplied.productId
- The default product id for the maps indexed by this
file.Method Detail |
---|
public void addMap(int name)
name
- The map name as an integer.public void write(java.lang.String filename) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
- If file cannot be written.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |