Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import java.io.PrintWriter;

public class Main {
    /**
     * Write XML header (UTF-8).
     * 
     * @param out
     *            The writer.
     */
    public static void writeXmlHeader(PrintWriter out) {
        out.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    }
}