00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 package org.openmobileis.embedded.webserver;
00031
00032 import java.io.IOException;
00033 import java.io.OutputStream;
00034 import java.io.PrintStream;
00035
00036 public final class Identification {
00037
00038 public static final String serverName = "Open Mobile IS Embedded WebServer based on Acme.Serve";
00039 public static final String serverVersion = "$Revision: 1.4 $";
00040 public static final String serverUrl = "";
00041
00043 public static void writeAddress(OutputStream o) throws IOException {
00044 PrintStream p = new PrintStream(o);
00045 p.println("<ADDRESS><A HREF=\"" + serverUrl + "\">" + serverName + " " + serverVersion + "</A></ADDRESS>");
00046 }
00047
00048 public static void writeAddress(StringBuffer sb) throws IOException {
00049 sb.append("<ADDRESS><A HREF=\"" + serverUrl + "\">" + serverName + " " + serverVersion + "</A></ADDRESS>");
00050 }
00051
00052 }