1 4 package com.tc.test.server.tcconfig; 5 6 import java.io.File ; 7 import java.io.FileInputStream ; 8 import java.io.IOException ; 9 10 public class SpringTerracottaAppServerConfig extends StandardTerracottaAppServerConfig { 11 12 byte[] data; 13 14 public SpringTerracottaAppServerConfig(File config) throws IOException { 15 super(new File ("")); 16 FileInputStream in = new FileInputStream (config); 17 data = new byte[in.available()]; 18 in.read(data); 19 in.close(); 20 } 21 22 public String toString() { 23 return new String (data); 24 } 25 } 26 | Popular Tags |