|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.activation.FileDataSource
|
+--org.sourcejammer.util.SJFileDataSource
Title: $FileName: SJFileDataSource.java$
| Field Summary | |
private static java.lang.String |
BINARY_TYPE
|
| Fields inherited from class javax.activation.FileDataSource |
|
| Constructor Summary | |
SJFileDataSource(java.io.File file)
|
|
SJFileDataSource(java.lang.String name)
|
|
| Method Summary | |
java.lang.String |
getContentType()
always returns application/octet-stream |
| Methods inherited from class javax.activation.FileDataSource |
getFile, getInputStream, getName, getOutputStream, setFileTypeMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.lang.String BINARY_TYPE
| Constructor Detail |
public SJFileDataSource(java.io.File file)
public SJFileDataSource(java.lang.String name)
| Method Detail |
public java.lang.String getContentType()
getContentType in interface javax.activation.DataSourcegetContentType in class javax.activation.FileDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||