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