org.dspace.app.mediafilter
Class PowerPointFilter
java.lang.Object
org.dspace.app.mediafilter.MediaFilter
org.dspace.app.mediafilter.PowerPointFilter
- All Implemented Interfaces:
- FormatFilter
public class PowerPointFilter
- extends MediaFilter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PowerPointFilter
public PowerPointFilter()
getFilteredName
public String getFilteredName(String oldFilename)
- Description copied from interface:
FormatFilter
- Get a filename for a newly created filtered bitstream
- Parameters:
oldFilename - name of source bitstream
- Returns:
- filename generated by the filter - for example, document.pdf
becomes document.pdf.txt
getBundleName
public String getBundleName()
- Returns:
- String bundle name
getFormatString
public String getFormatString()
- Returns:
- String bitstreamformat
TODO: Check that this is correct
getDescription
public String getDescription()
- Returns:
- String description
getDestinationStream
public InputStream getDestinationStream(InputStream source)
throws Exception
- Parameters:
source - source input stream
- Returns:
- InputStream the resulting input stream
- Throws:
Exception
Copyright © 2011 DuraSpace. All Rights Reserved.