org.pentaho.reporting.libraries.repository
public interface NameGenerator
Method Summary | |
---|---|
String | generateName(String nameHint, String mimeType)
Generates a new name for the location. |
Parameters: nameHint the name hint, usually a identifier for the new filename (can be null). mimeType the mime type of the new filename. Usually used to compute a suitable file-suffix.
Returns: the generated name, never null.
Throws: ContentIOException if the name could not be generated for any reason.