Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.Map;

public class Main {

    private static void extractValue(Map<String, String> result, String eleName, String content) {
        if (eleName != null && eleName.contains(":")) {
            String cs[] = eleName.split(":");
            result.put(cs[1], content);
        } else {
            result.put(eleName, content);
        }
    }
}