de.hs_rm.cs.lecturenotes.shared.entity
Class MimeType

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.shared.entity.MimeType
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable

public final class MimeType
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable

MimeType System Object/Entity.

Version:
$LastChangedRevision: 236 $
Author:
Enrico Homann
See Also:
Serialized Form

Constructor Summary
MimeType()
          Default Constructor, needed by the Serializer.
MimeType(MimeTypeEnum oKey, java.lang.String sFileExtenson)
          Constructor.
 
Method Summary
 java.lang.String getFileExtension()
          Will return the file extension.
 MimeTypeEnum getKey()
          Will return the key.
 void setFileExtension(java.lang.String oFileExtension)
          Sets the file extension.
 void setKey(MimeTypeEnum oKey)
          Sets the key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeType

public MimeType()
Default Constructor, needed by the Serializer.


MimeType

public MimeType(MimeTypeEnum oKey,
                java.lang.String sFileExtenson)
Constructor.

Parameters:
oKey - MimeTypeEnum
sFileExtenson - String
Method Detail

getKey

public MimeTypeEnum getKey()
Will return the key.

Returns:
MimeTypeEnum

setKey

public void setKey(MimeTypeEnum oKey)
Sets the key.

Parameters:
oKey - MimeTypeEnum

getFileExtension

public java.lang.String getFileExtension()
Will return the file extension.

Returns:
String

setFileExtension

public void setFileExtension(java.lang.String oFileExtension)
Sets the file extension.

Parameters:
oFileExtension - String