X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fjvcard%2Fremote%2FServer.java;h=2ad561977c589be31abbcfe8acc85eff51052689;hp=4b9936573fdecda0beac378d377fa19e2c4c2c1e;hb=7da41ecd30228908bf2afcd07ff7943ab59d4c01;hpb=0b6140e4a200c4952c9dc003d8389f375191564e diff --git a/src/be/nikiroo/jvcard/remote/Server.java b/src/be/nikiroo/jvcard/remote/Server.java index 4b99365..2ad5619 100644 --- a/src/be/nikiroo/jvcard/remote/Server.java +++ b/src/be/nikiroo/jvcard/remote/Server.java @@ -18,7 +18,7 @@ import be.nikiroo.jvcard.parsers.Format; import be.nikiroo.jvcard.parsers.Vcard21Parser; import be.nikiroo.jvcard.remote.Command.Verb; import be.nikiroo.jvcard.resources.Bundles; -import be.nikiroo.jvcard.tui.StringUtils; +import be.nikiroo.jvcard.resources.StringUtils; /** * This class implements a small server that can listen for requests to @@ -45,13 +45,8 @@ public class Server implements Runnable { private Object updateLock = new Object(); - public static void main(String[] args) throws IOException { - Server server = new Server(4444); - server.run(); - } - /** - * Create a new jVCard sercer on the given port. + * Create a new jVCard server on the given port. * * @param port * the port to run on