Package org.vrspace.server.obj
Class Content
java.lang.Object
org.vrspace.server.obj.Entity
org.vrspace.server.obj.Embedded
org.vrspace.server.obj.Content
- Direct Known Subclasses:
GltfModel
Basic content class. Early version, not used on its own, likely to change.
- Author:
- joe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
dispose()
Called while an object is being deleted.boolean
long
int
hashCode()
void
setContentType
(String contentType) void
setFileName
(String fileName) void
void
setLength
(long length) toString()
Methods inherited from class org.vrspace.server.obj.Entity
getObjectId, setId
-
Constructor Details
-
Content
public Content() -
Content
-
-
Method Details
-
dispose
public void dispose()Description copied from class:Entity
Called while an object is being deleted. Used for cleanup tasks, e.g. removal of created files etc. -
getFileName
-
getFolder
-
getContentType
-
getLength
public long getLength() -
setFileName
-
setFolder
-
setContentType
-
setLength
public void setLength(long length) -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-