* @deprecated As of GeoServer 2.6, replaced by {@link #get(StyleInfo, String...)}
*/
@Deprecated
public void copyToStyleDir(File file, StyleInfo style) throws IOException {
Resource styles = get(style);
FileUtils.copyFileToDirectory(file, styles.dir());
}
/**
* Returns the directory in which global layer groups are persisted, if the directory does not exist null is returned.
* @deprecated As of GeoServer 2.6, replaced by {@link #get(LayerGroupInfo, String...)}