Package fr.xlim.ssd.capmanipulator.library

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


        // intefaceNameInfo loading (only if the bit remote is set in the flag)
        if ((bitfield & ClassComponent.ACC_REMOTE) >>> 5 == ClassComponent.ACC_REMOTE) {
            interfaceInfo.setInterfaceNameInfo(new InterfaceNameInfoRead().load(in));
        }
        {
            interfaceInfo.setInterfaceNameInfo(new InterfaceNameInfo());
        }

        return interfaceInfo;
    }
View Full Code Here


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

        InterfaceNameInfo interfaceNameInfo = new InterfaceNameInfo();

        interfaceNameInfo.setInterfaceNameLength(in.readByte());

        interfaceNameInfo.getInterfaceName().clear();

        for (int i = 0; i < interfaceNameInfo.getInterfaceNameLength(); i++) {
            interfaceNameInfo.getInterfaceName().add(in.readByte());
        }

        return interfaceNameInfo;
    }
View Full Code Here

TOP

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

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.