public class NoOpNamingStrategy extends Object implements NamingStrategy
NamingStrategy which preserve the original name.| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS
A short name of this naming strategy.
|
| Constructor and Description |
|---|
NoOpNamingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
rename(String originalName,
InputStream inputStream)
Creates a new name of the resource which encodes a version.
|
public static final String ALIAS
public String rename(String originalName, InputStream inputStream)
rename in interface NamingStrategyoriginalName - original name of the resource.inputStream - the stream of the content to rename.Copyright © 2008-2013. All Rights Reserved.