1 7 8 package com.sun.corba.se.impl.orb ; 9 10 import java.util.Properties ; 11 12 import com.sun.corba.se.spi.orb.Operation ; 13 import com.sun.corba.se.spi.orb.PropertyParser ; 14 15 public class NormalParserData extends ParserDataBase { 16 private String testData ; 17 18 public NormalParserData( String propertyName, 19 Operation operation, String fieldName, Object defaultValue, 20 Object testValue, String testData ) 21 { 22 super( propertyName, operation, fieldName, defaultValue, testValue ) ; 23 this.testData = testData ; 24 } 25 public void addToParser( PropertyParser parser ) 26 { 27 parser.add( getPropertyName(), getOperation(), getFieldName() ) ; 28 } 29 30 public void addToProperties( Properties props ) 31 { 32 props.setProperty( getPropertyName(), testData ) ; 33 } 34 } 35 36 | Popular Tags |