Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static boolean isXML(String cType) {
        String parts[] = cType.split(";");

        return ((parts[0].equals("text/xml") || parts[0].equals("application/xml")));
    }
}