Package com.volantis.devrep.device.api.xml.identification

Examples of com.volantis.devrep.device.api.xml.identification.Identification.find()


        if (deviceName == null) {
            // iterate throuogh the identification entries
            entriesIter = identification.entries();
        } else {
            // only check one entry
            final IdentificationEntry entry = identification.find(deviceName);
            entriesIter = Collections.singleton(entry).iterator();
        }
        return testDevicePatterns(repository, entriesIter);
    }
View Full Code Here


        }

        // Add the device patterns to the device.
        Identification identification = loadIdentification();
        final Map patterns = new HashMap();
        IdentificationEntry idEntry = identification.find(deviceName);
        if (idEntry != null) {
            iterateGenericPatterns(idEntry, new GenericPatternIteratee() {
                public void next(String pattern) {
                    // NOTE: yes this is intentional, why this must be a
                    // map I have no idea - a list would be fine.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.