Package com.github.stephenc.javaisotools.sabre

Examples of com.github.stephenc.javaisotools.sabre.Fixup.data()


        Fixup locationFixup = (Fixup) memory.get("drLocationFixup");
        emptyFileFixups.add(locationFixup);

        // Write and close Length Fixup
        Fixup dataLengthFixup = (Fixup) memory.get("drDataLengthFixup");
        dataLengthFixup.data(new BothWordDataReference(0));
        dataLengthFixup.close();

        return memory;
    }
View Full Code Here


        }
        fileFixups.put(file.getID(), locationFixup);

        // Write and close Length Fixup
        Fixup dataLengthFixup = (Fixup) memory.get("drDataLengthFixup");
        dataLengthFixup.data(new BothWordDataReference(file.length()));
        dataLengthFixup.close();

        return memory;
    }
View Full Code Here

        } else {
            locationFixups.put(file.getContentID(), new Integer(location));
        }

        // Write and close File Fixup
        locationFixup.data(new BothWordDataReference(location));
        locationFixup.close();
    }

    public void doEmptyFileFixups() throws HandlerException {
        Iterator it = emptyFileFixups.iterator();
View Full Code Here

            streamHandler.startElement(new LogicalSectorElement("DUMMY"));

            // Write and close Empty File Fixup
            int location = helper.getCurrentLocation();
            Fixup locationFixup = (Fixup) it.next();
            locationFixup.data(new BothWordDataReference(location));
            locationFixup.close();

            streamHandler.endElement();
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.