Package com.github.stephenc.javaisotools.iso9660

Examples of com.github.stephenc.javaisotools.iso9660.FilenameDataReference


        super.startElement(new LogicalSectorElement("BCAT"));

        // Write and close Boot Catalog Location Fixup
        long position = mark();
        int location = (int) (position / ISO9660Constants.LOGICAL_BLOCK_SIZE);
        bootCatalogLocation.data(new LSBFWordDataReference(location));
        bootCatalogLocation.close();

        ElToritoFactory etf = new ElToritoFactory(this);

        // Validation Entry
View Full Code Here


        super.startElement(new LogicalSectorElement("BIMG"));

        // Write and close Boot Image Location Fixup
        long position = mark();
        int location = (int) (position / ISO9660Constants.LOGICAL_BLOCK_SIZE);
        bootImageLocation.data(new LSBFWordDataReference(location));
        bootImageLocation.close();

        if (config.getGenBootInfoTable()) {
            this.genBootInfoTable(location);
        }
View Full Code Here

        // Sector Count
        streamHandler.data(new LSBFShortDataReference(sectorCount));

        // Load RBA
        Fixup loadRBA = streamHandler.fixup(new LSBFWordDataReference(0));

        // Unused (19 bytes)
        streamHandler.data(new EmptyByteArrayDataReference(19));

        return loadRBA;
View Full Code Here

        // Sector Count
        streamHandler.data(new LSBFShortDataReference(sectorCount));

        // Load RBA
        Fixup loadRBA = streamHandler.fixup(new LSBFWordDataReference(0));

        // Selection criteria type
        streamHandler.data(new ByteDataReference(selectionCriteriaType));

        // Vendor unique selection criteria (18 bytes): handle externally
View Full Code Here

        // Path Table Size
        Fixup pts = streamHandler.fixup(new BothWordDataReference(0));
        memory.put("ptSizeFixup", pts);

        // Type L Path Table Location
        Fixup tlpt = streamHandler.fixup(new LSBFWordDataReference(0));
        memory.put("typeLPTLocationFixup", tlpt);
        // Optional Type L Path Table Location: none
        streamHandler.data(new LSBFWordDataReference(0));

        // Type M Path Table Location
        Fixup tmpt = streamHandler.fixup(new WordDataReference(0));
        memory.put("typeMPTLocationFixup", tmpt);
        // Optional Type M Path Table Location: none
View Full Code Here

        streamHandler.data(new ByteDataReference(extAttrRecordLength));

        // Location of Extent
        DataReference location_dr = null;
        if (type.equals(ISO9660Constants.TYPE_L_PT)) {
            location_dr = new LSBFWordDataReference(0);
        } else if (type.equals(ISO9660Constants.TYPE_M_PT)) {
            location_dr = new WordDataReference(0);
        }
        Fixup locationFixup = streamHandler.fixup(location_dr);
View Full Code Here

    private void doBVD() throws HandlerException {
        super.startElement(new LogicalSectorElement("BR"));

        LayoutHelper helper = new ElToritoLayoutHelper(this);
        BootRecord br = new BootRecord(this, helper);
        br.setMetadata(config);
        br.doBR();

        // Remember Boot System Use (absolute pointer to first sector of Boot Catalog)
        bootCatalogLocation = fixup(new LSBFWordDataReference(0));

        super.endElement();
View Full Code Here

    }

    private void doPVD() throws HandlerException {
        super.startElement(new LogicalSectorElement("PVD"));

        PrimaryVolumeDescriptor pvd = new PrimaryVolumeDescriptor(this, helper);
        pvd.setMetadata(config);
        volumeFixups.putAll(pvd.doPVD());

        super.endElement();
    }
View Full Code Here

    }

    private void doSVD() throws HandlerException {
        super.startElement(new LogicalSectorElement("SVD"));

        SupplementaryVolumeDescriptor svd = new SupplementaryVolumeDescriptor(this, helper);
        svd.setMetadata(config);
        volumeFixups.putAll(svd.doSVD());

        // Set Volume Flags to 0 (Unused Field)
        Fixup volumeFlags = (Fixup) volumeFixups.get("volumeFlagsFixup");
        volumeFlags.data(new ByteDataReference(0));
        volumeFlags.close();
View Full Code Here

        super.endElement();
    }

    private void doVDST() throws HandlerException {
        super.startElement(new LogicalSectorElement("VDST"));
        VolumeDescriptorSetTerminator vdst = new VolumeDescriptorSetTerminator(this, helper);
        vdst.doVDST();
        super.endElement();
    }
View Full Code Here

TOP

Related Classes of com.github.stephenc.javaisotools.iso9660.FilenameDataReference

Copyright © 2018 www.massapicom. 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.