|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.repository.file.TempFileNameGenerator
public class TempFileNameGenerator
Todo: Document me!
Date: 15.04.2010 Time: 16:35:38
Constructor Summary | |
---|---|
TempFileNameGenerator(FileContentLocation fileContentLocation)
|
Method Summary | |
---|---|
java.lang.String |
generateName(java.lang.String nameHint,
java.lang.String mimeType)
Generates a new name for the location. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TempFileNameGenerator(FileContentLocation fileContentLocation)
Method Detail |
---|
public java.lang.String generateName(java.lang.String nameHint, java.lang.String mimeType) throws ContentIOException
generateName
in interface NameGenerator
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.
ContentIOException
- if the name could not be generated for any reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |