Package pivot.util

Examples of pivot.util.MIMEType


import pivot.util.MIMEType;

public class MIMETypeTest {
    public static void main(String[] args) {
        MIMEType mimeType = MIMEType.decode("foo; a=123; b=456; c=789");
        System.out.println("Base type: " + mimeType.getBaseType());
        System.out.println("a: " + mimeType.get("a"));
        System.out.println("b: " + mimeType.get("b"));
        System.out.println("c: " + mimeType.get("c"));
    }
View Full Code Here

TOP

Related Classes of pivot.util.MIMEType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.