Class DragAndDropWebEditorStore.File
- java.lang.Object
-
- java.io.File
-
- org.silverpeas.core.io.file.SilverpeasFile
-
- org.silverpeas.core.contribution.content.ddwe.model.DragAndDropWebEditorStore.File
-
- All Implemented Interfaces:
Serializable
,Comparable<File>
- Enclosing class:
- DragAndDropWebEditorStore
public static class DragAndDropWebEditorStore.File extends SilverpeasFile
Representation of the file containing the structured content.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
MIME_TYPE
-
Fields inherited from class org.silverpeas.core.io.file.SilverpeasFile
NO_FILE
-
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
DragAndDropWebEditorStore.Container
getContainer()
Gets the ROOT TAG container.int
hashCode()
protected void
save()
void
writeFrom(InputStream stream)
Please use insteadDragAndDropWebEditorStore.save()
method.-
Methods inherited from class org.silverpeas.core.io.file.SilverpeasFile
copyInto, delete, exists, getComponentInstanceId, getMimeType, inputStream, isArchive, isImage, isMail, isOpenOfficeCompatible, isPdf, moveInto
-
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, deleteOnExit, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
-
-
-
-
Field Detail
-
MIME_TYPE
public static final String MIME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContainer
public DragAndDropWebEditorStore.Container getContainer()
Gets the ROOT TAG container.- Returns:
- a
DragAndDropWebEditorStore.Container
instance.
-
save
protected void save()
-
writeFrom
public void writeFrom(InputStream stream)
Please use insteadDragAndDropWebEditorStore.save()
method.- Overrides:
writeFrom
in classSilverpeasFile
- Parameters:
stream
- the input stream from which the content to write is fetched.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSilverpeasFile
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSilverpeasFile
-
-