Package fr.xlim.ssd.capmanipulator.library

Examples of fr.xlim.ssd.capmanipulator.library.PackageNameInfo


        PackageInfo packageInfo = new PackageInfoRead().load(in);
        headerComponent.setThePackage(packageInfo);

        checkSize(in, headerComponent);

        PackageNameInfo packageNameInfo = new PackageNameInfo();
        headerComponent.setPackageName(new PackageNameInfo());
        /*
        packageNameInfo.load(in);
        */

        return headerComponent;
View Full Code Here


     *
     * @throws java.io.IOException
     */
    public PackageNameInfo load(CapInputStream in) throws UnableToReadCapFileException {

        PackageNameInfo packageNameInfo = new PackageNameInfo();

        // nameLength reading
        packageNameInfo.setNameLength(in.readByte());

        // name reading
        packageNameInfo.getName().clear();

        for (byte i = 0; i < packageNameInfo.getNameLength(); i++) {
            packageNameInfo.getName().add(in.readByte());
        }

        return packageNameInfo;
    }
View Full Code Here

TOP

Related Classes of fr.xlim.ssd.capmanipulator.library.PackageNameInfo

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.