* @deprecated As of GeoServer 2.6, replaced by {@link #get(WorkspaceInfo, String...)}
*/
@Deprecated
public void copyToWorkspaceDir(WorkspaceInfo ws, InputStream data, String filename)
throws IOException {
Resource directory = get(ws);
Resources.copy(data, directory, filename);
}