ro.isdc.wro.model.resource.util
Class NoOpNamingStrategy
java.lang.Object
ro.isdc.wro.model.resource.util.NoOpNamingStrategy
- All Implemented Interfaces:
- NamingStrategy
public class NoOpNamingStrategy
- extends Object
- implements NamingStrategy
The simplest implementation of NamingStrategy which preserve the original name.
- Author:
- Alex Objelean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpNamingStrategy
public NoOpNamingStrategy()
rename
public String rename(String originalName,
InputStream inputStream)
- Creates a new name of the resource which encodes a version.
- Specified by:
rename in interface NamingStrategy
- Parameters:
originalName - original name of the resource.inputStream - the stream of the content to rename.
- Returns:
- new name of the resource with version encoded.
Copyright © 2008-2011. All Rights Reserved.