Package com.github.stephenc.javaisotools.iso9660

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


     */
    public void setGenBootInfoTable(boolean genBootInfoTable) throws ConfigException {
        if (!genBootInfoTable || this.bootMediaType == ElToritoConfig.BOOT_MEDIA_TYPE_NO_EMU) {
            this.genBootInfoTable = genBootInfoTable;
        } else {
            throw new ConfigException(this, "Boot info table generation requires no-emulation image.");
        }
    }
View Full Code Here


     */
    public void setPlatformID(int platformID) throws ConfigException {
        if (platformID >= 0 && platformID <= 2) {
            this.platformID = platformID;
        } else {
            throw new ConfigException(this, "Invalid Platform ID: " + platformID);
        }
    }
View Full Code Here

     *
     * @throws ConfigException String too long
     */
    public void setIDString(String idString) throws ConfigException {
        if (idString.length() > 24) {
            throw new ConfigException(this, "The ID string may be no longer than 24 characters.");
        }
        this.idString = idString;
    }
View Full Code Here

     */
    public void setEmulation(int bootMediaType) throws ConfigException {
        if (bootMediaType >= 0 && bootMediaType <= 4) {
            this.bootMediaType = bootMediaType;
        } else {
            throw new ConfigException(this, "Invalid Boot Media Type: " + bootMediaType);
        }
    }
View Full Code Here

     * @throws ConfigException Invalid UCS-2 level
     * @see http://www.nada.kth.se/i18n/ucs/unicode-iso10646-oview.html
     */
    public void setUCS2Level(int level) throws ConfigException {
        if (level != 1 && level != 2 && level != 3) {
            throw new ConfigException(this, "Invalid UCS-2 level: " + level);
        }
        this.ucs2_level = level;
    }
View Full Code Here

        return new ByteArrayDataReference(UCS2_LEVEL_ESCAPE_SEQUENCES[ucs2_level - 1]);
    }

    public void setVolumeSetID(String volumeSetID) throws ConfigException {
        if (volumeSetID.length() > 64) {
            throw new ConfigException(this, "The Volume Set ID may be no longer than 64 characters.");
        }
        super.setVolumeSetID(volumeSetID);
    }
View Full Code Here

        super.setVolumeSetID(volumeSetID);
    }

    public void setApp(String app) throws ConfigException {
        if (app.length() > 64) {
            throw new ConfigException(this, "The Application Identifier may be no longer than 64 characters.");
        }
        super.setApp(app);
    }
View Full Code Here

        super.setApp(app);
    }

    public void setDataPreparer(String dataPreparer) throws ConfigException {
        if (dataPreparer.length() > 64) {
            throw new ConfigException(this, "The Data Preparer Identifier may be no longer than 64 characters.");
        }
        super.setDataPreparer(dataPreparer);
    }
View Full Code Here

        super.setDataPreparer(dataPreparer);
    }

    public void setPublisher(String publisher) throws ConfigException {
        if (publisher.length() > 64) {
            throw new ConfigException(this, "The Publisher Identifier may be no longer than 64 characters.");
        }
        super.setPublisher(publisher);
    }
View Full Code Here

        super.setPublisher(publisher);
    }

    public void setSystemID(String systemID) throws ConfigException {
        if (systemID.length() > 16) {
            throw new ConfigException(this, "The System Identifier may be no longer than 16 characters.");
        }
        super.setSystemID(systemID);
    }
View Full Code Here

TOP

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

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.