Package bdsup2sub.tools

Examples of bdsup2sub.tools.FileBuffer


    private int primaryColorIndex;


    public SupHD(String supFile) throws CoreException {
        try {
            buffer = new FileBuffer(supFile);
        } catch (FileBufferException ex) {
            throw new CoreException(ex.getMessage());
        }
        int bufsize = (int)buffer.getSize();
View Full Code Here


    public SubDvd(String subFile, String idxFile) throws CoreException {
        readIdx(idxFile);
        Core.setProgressMax(subPictures.size());
        try {
            buffer = new FileBuffer(subFile);
        } catch (FileBufferException e) {
            throw new CoreException(e.getMessage());
        }
        for (int i=0; i < subPictures.size(); i++) {
            Core.setProgress(i);
View Full Code Here

    private Palette srcPalette = new Palette(DEFAULT_DVD_PALETTE);


    public IfoParser(String filename) throws CoreException {
        try {
            this.fileBuffer = new FileBuffer(filename);
            processIFO();
        } catch (FileBufferException e) {
            throw new CoreException(e.getMessage());
        }
    }
View Full Code Here

    }

    private void readSupFile(String supFile) throws CoreException {
        try {
            long offset = 0;
            fileBuffer = new FileBuffer(supFile);
            long size = fileBuffer.getSize();
            Core.setProgressMax((int) size);
            int i = 0;
            do {
                logger.info("# " + (++i) + "\n");
View Full Code Here

    private List<SubPictureBD> subPictures = new ArrayList<SubPictureBD>();
    private int forcedFrameCount;

    public SupBDParser(String filename) throws CoreException {
        try {
            buffer = new FileBuffer(filename);
        } catch (FileBufferException ex) {
            throw new CoreException(ex.getMessage());
        }
        parse();
    }
View Full Code Here

TOP

Related Classes of bdsup2sub.tools.FileBuffer

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.