2011-08-01 4 views

答えて

0

あなたは、構造体のアクションクラスでこれを試すことができます。

String fileName ="filepname"; //property fileName 
    FileInputStream fis = new FileInputStream(new File(fileName)); 
    Properties props = new Properties(); 
    props.load(fis); //load the property file 

    String posterVarName = props.getProperty("property"); //get property 
+0

おかげでコードの話題を、IAMないJavaコードの支柱を使用してそれを実装しようとしています。 – Sachin

+0

@Sachin:このコードをアクションクラスに書くことができます。違いはありません。 – Muse

関連する問題