Hi All,

If I want to use datatypes like "text/csv", "application/xml" etc. Instead
of defining them as shown below, is there a way to use globally defined
constants for those known data types? If so, can someone please state the
way to use those constants?

private final static String CSV_CONTENT_TYPE = "text/csv";

Thanks,
Sohani

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog     :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to