com.gentics.cr.util
Class MLMapper

java.lang.Object
  extended by com.gentics.cr.util.MLMapper

public class MLMapper
extends Object

This Class only exists until an automatic mapping in the tagmap will be created. Last changed: $Date: 2009-07-10 17:56:53 +0200 (Fr, 10 Jul 2009) $

Version:
$Revision: 142 $
Author:
$Author: supnig@constantinopel.at $
 

Field Summary
private static HashMap<Integer,String> mlMap
          The ml_map.
 
Constructor Summary
protected MLMapper()
          Instantiates a new mL mapper.
 
Method Summary
private static HashMap<Integer,String> createMLMap()
          Creates the ml map.
static String getMimetype(com.gentics.cr.CRResolvableBean bean)
          Get the Mimetype using an CRResolvableBean.
static String getMimetype(Integer mlId)
          Get the Mimetype using an mlId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mlMap

private static HashMap<Integer,String> mlMap
The ml_map.

Constructor Detail

MLMapper

protected MLMapper()
Instantiates a new mL mapper.

Method Detail

getMimetype

public static String getMimetype(com.gentics.cr.CRResolvableBean bean)
Get the Mimetype using an CRResolvableBean.

Parameters:
bean - the bean
Returns:
the mimetype

getMimetype

public static String getMimetype(Integer mlId)
Get the Mimetype using an mlId.

Parameters:
mlId - the ml_id
Returns:
the mimetype

createMLMap

private static HashMap<Integer,String> createMLMap()
Creates the ml map.

Returns:
the hash map


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.