Package org.jsynthlib.xmldevice

Examples of org.jsynthlib.xmldevice.StringArray


        driverSpec.setName(deviceName + " " + driver.getPatchType());
        driverSpec.setAuthors(driver.getAuthors());

        String[] origBankNumbers = driver.getBankNumbers();
        if (origBankNumbers != null) {
            StringArray bankNumbers = driverSpec.addNewBankNumbers();
            for (String bankNumber : origBankNumbers) {
                bankNumbers.addString(bankNumber);
            }
        }

        String[] origPatchNumbers = driver.getPatchNumbers();
        if (origPatchNumbers != null) {
            StringArray patchNumbers = driverSpec.addNewPatchNumbers();
            for (String patchNumber : origPatchNumbers) {
                patchNumbers.addString(patchNumber);
            }
        }

        driverSpec.setPatchNameSize(driver.getPatchNameSize());
        driverSpec.setPatchSize(driver.getPatchSize());
View Full Code Here

TOP

Related Classes of org.jsynthlib.xmldevice.StringArray

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.