Uses of Class
org.ow2.dragon.util.ContentType

Uses of ContentType in org.ow2.dragon.util
 

Methods in org.ow2.dragon.util that return ContentType
static ContentType ContentType.fromString(java.lang.String type)
          Return the ContentType related to the given string or null if it isn't supported
static ContentType ContentType.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentType[] ContentType.values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 

Methods in org.ow2.dragon.util with parameters of type ContentType
static java.lang.String ContentType.getRelatedSuffix(ContentType type)
          Return the commonly acceptable file suffix for a given ContentType
Example: if ContentType.XML then suffix = ".xml"
static java.lang.String DragonRepoFileLocator.getRepoFileURL(ContentType type, java.lang.String fileName, java.lang.String fileId, javax.servlet.http.HttpServletRequest request)
          Build a repository file url from "dragon.properties" and given parameters.
 



Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.