org.silverpeas.viewer.web
Class PreviewBuilder.PreviewMock

java.lang.Object
  extended by org.silverpeas.viewer.web.PreviewBuilder.PreviewMock
All Implemented Interfaces:
Serializable, Preview
Enclosing class:
PreviewBuilder

protected class PreviewBuilder.PreviewMock
extends Object
implements Preview

See Also:
Serialized Form

Constructor Summary
PreviewBuilder.PreviewMock(String uriId, String fileName)
           
 
Method Summary
 String getDisplayLicenseKey()
           
 String getHeight()
           
 String getOriginalFileName()
           
 File getPhysicalFile()
           
 String getURLAsString()
           
 String getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewBuilder.PreviewMock

public PreviewBuilder.PreviewMock(String uriId,
                                  String fileName)
Method Detail

getDisplayLicenseKey

public String getDisplayLicenseKey()
Specified by:
getDisplayLicenseKey in interface Preview

getURLAsString

public String getURLAsString()
                      throws ViewerException
Specified by:
getURLAsString in interface Preview
Throws:
ViewerException

getPhysicalFile

public File getPhysicalFile()
Specified by:
getPhysicalFile in interface Preview

getOriginalFileName

public String getOriginalFileName()
Specified by:
getOriginalFileName in interface Preview

getWidth

public String getWidth()
Specified by:
getWidth in interface Preview

getHeight

public String getHeight()
Specified by:
getHeight in interface Preview


Copyright © 2016 Silverpeas. All Rights Reserved.