public class WebImageViewer extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
WebImageViewer(InetSocketAddress address) |
public static final org.apache.commons.logging.Log LOG
public WebImageViewer(InetSocketAddress address)
public void start(String fsimage) throws IOException
fsimage - the fsimage to load.IOException - if failed to load the fsimage.public void initServer(String fsimage) throws IOException, InterruptedException
fsimage - the fsimage to load.IOException - if fail to load the fsimage.InterruptedExceptionpublic int getPort()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017 Apache Software Foundation. All Rights Reserved.