1 15 package org.apache.tapestry.services; 16 17 import java.io.IOException ; 18 19 import org.apache.hivemind.ClassResolver; 20 import org.apache.tapestry.util.io.ISqueezeAdaptor; 21 22 29 public interface DataSqueezer 30 { 31 35 public String squeeze(Object data) throws IOException ; 36 37 41 public String [] squeeze(Object [] data) throws IOException ; 42 43 48 public Object unsqueeze(String string) throws IOException ; 49 50 55 public Object [] unsqueeze(String [] strings) throws IOException ; 56 57 70 71 74 public void register(String prefix, Class dataClass, ISqueezeAdaptor adaptor); 75 76 public ClassResolver getResolver(); 77 } | Popular Tags |