| 1 19 20 package org.netbeans.upgrade.systemoptions; 21 22 import java.util.Iterator ; 23 import java.util.List ; 24 25 28 class NbClassPathProcessor extends PropertyProcessor { 29 NbClassPathProcessor() { 30 super("org.openide.execution.NbClassPath"); } 32 33 void processPropertyImpl(String propertyName, Object value) { 34 StringBuffer sb = new StringBuffer (); 35 List l = ((SerParser.ObjectWrapper)value).data; 36 for (Iterator it = l.iterator(); it.hasNext();) { 37 Object elem = (Object ) it.next(); 38 if (elem instanceof SerParser.NameValue) { 39 SerParser.NameValue nv = (SerParser.NameValue)elem; 40 if (nv.value != null && nv.name != null) { 41 if (nv.name.name.equals("classpath")) { addProperty(propertyName, nv.value.toString()); 43 } else if (nv.name.name.equals("items")) { } 46 } 47 } 48 } 49 } 50 } 51 | Popular Tags |