110111112113114115116
} public boolean exists() throws IOException { return ((Boolean) client.sendGFileRequest(this, new CommandRequest("exists", null))).booleanValue(); }
116117118119120121122
} public boolean isDirectory() throws IOException { return ((Boolean) client.sendGFileRequest(this, new CommandRequest("isDirectory", null))).booleanValue(); }
122123124125126127128
} public boolean isFile() throws IOException { return ((Boolean) client.sendGFileRequest(this, new CommandRequest("isFile", null))).booleanValue(); }
128129130131132133134
} public String[] listFiles() throws IOException { return (String[]) client.sendGFileRequest(this, new CommandRequest("listFiles", null)); }
140141142143144145146
} public Map getProperties() throws IOException { return (Map) client.sendGFileRequest(this, new CommandRequest("getProperties", null)); }
145146147148149150151
new CommandRequest("getProperties", null)); } public void setContent(InputStream anIn) { client.sendGFileRequest(this, new CommandRequest("setContent", new Object[]{anIn})); }
150151152153154155156
new CommandRequest("setContent", new Object[]{anIn})); } public InputStream getContent() { return (InputStream) client.sendGFileRequest(this, new CommandRequest("getContent", null)); }
155156157158159160161
new CommandRequest("getContent", null)); } public InputStream getInputStream() throws IOException { return (InputStream) client.sendGFileRequest(this, new CommandRequest("getInputStream", null)); }
161162163164165166167168
} public Map getPropertiesByName(Collection aCollOfNames) throws IOException { return (Map) client.sendGFileRequest(this, new CommandRequest("getPropertiesByName", new Object[] {aCollOfNames})); }
167168169170171172173174
new Object[] {aCollOfNames})); } public void addProperty(String aName, String aValue) throws IOException { client.sendGFileRequest(this, new CommandRequest("addProperty", new Object[] {aName, aValue})); }