Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.io.IOException;

import java.io.OutputStream;

public class Main {
    private static void closeStream(final OutputStream stream) {
        if (stream == null)
            return;
        try {
            stream.close();
        } catch (final IOException ignored) {
        }
    }
}