/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package socius.adapter; import com.healthmarketscience.rmiio.RemoteInputStream; import java.io.File; import java.io.Serializable; import java.rmi.Remote; import java.rmi.RemoteException; /** * * @author Ana */ public interface Arquivo extends Remote, Serializable { public File getFile() throws RemoteException; public long getTamanho() throws RemoteException; public RemoteInputStream getStream() throws RemoteException; public void setFile(File file) throws RemoteException; }