added psql, removed client-based functionality

This commit is contained in:
Egor 2022-06-14 03:27:00 +03:00
parent 34381ddba5
commit 787579a10d
226 changed files with 5094 additions and 3367 deletions

View file

@ -4,7 +4,7 @@ plugins {
} }
group = "ru.erius.lab5" group = "ru.erius.lab5"
version = "2.2" version = "3.0"
val mainClass = "client.Lab5Client" val mainClass = "client.Lab5Client"
repositories { repositories {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>All Classes (Lab5Client 2.2 API)</title> <title>All Classes (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>All Classes (Lab5Client 2.2 API)</title> <title>All Classes (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Lab5Client (Lab5Client 2.2 API)</title> <title>Lab5Client (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Lab5Client (Lab5Client 2.2 API)"; parent.document.title="Lab5Client (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Adapters.NameAdapter (Lab5Core 2.2 API)</title> <title>CommandLineHandlerClient.ConnectionCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>
@ -11,13 +11,13 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Adapters.NameAdapter (Lab5Core 2.2 API)"; parent.document.title="CommandLineHandlerClient.ConnectionCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {
} }
//--> //-->
var methods = {"i0":10,"i1":10}; var methods = {"i0":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor"; var altColor = "altColor";
var rowColor = "rowColor"; var rowColor = "rowColor";
@ -47,12 +47,12 @@ var activeTableTab = "activeTableTab";
</div> </div>
<div class="subNav"> <div class="subNav">
<ul class="navList"> <ul class="navList">
<li><a href="../../common/parser/Adapters.LocalDateAdapter.html" title="class in common.parser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../client/commandline/CommandLineHandlerClient.html" title="class in client.commandline"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../common/parser/Adapters.PassportAdapter.html" title="class in common.parser"><span class="typeNameLink">Next&nbsp;Class</span></a></li> <li>Next&nbsp;Class</li>
</ul> </ul>
<ul class="navList"> <ul class="navList">
<li><a href="../../index.html?common/parser/Adapters.NameAdapter.html" target="_top">Frames</a></li> <li><a href="../../index.html?client/commandline/CommandLineHandlerClient.ConnectionCommand.html" target="_top">Frames</a></li>
<li><a href="Adapters.NameAdapter.html" target="_top">No&nbsp;Frames</a></li> <li><a href="CommandLineHandlerClient.ConnectionCommand.html" target="_top">No&nbsp;Frames</a></li>
</ul> </ul>
<ul class="navList" id="allclasses_navbar_top"> <ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li> <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
@ -73,7 +73,7 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList"> <ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#fields.inherited.from.class.common.commandline.Command">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
@ -90,18 +90,18 @@ var activeTableTab = "activeTableTab";
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="subTitle">common.parser</div> <div class="subTitle">client.commandline</div>
<h2 title="Class Adapters.NameAdapter" class="title">Class Adapters.NameAdapter</h2> <h2 title="Class CommandLineHandlerClient.ConnectionCommand" class="title">Class CommandLineHandlerClient.ConnectionCommand</h2>
</div> </div>
<div class="contentContainer"> <div class="contentContainer">
<ul class="inheritance"> <ul class="inheritance">
<li>java.lang.Object</li> <li>java.lang.Object</li>
<li> <li>
<ul class="inheritance"> <ul class="inheritance">
<li>javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.lang.String&gt;</li> <li>common.commandline.Command</li>
<li> <li>
<ul class="inheritance"> <ul class="inheritance">
<li>common.parser.Adapters.NameAdapter</li> <li>client.commandline.CommandLineHandlerClient.ConnectionCommand</li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -111,19 +111,42 @@ var activeTableTab = "activeTableTab";
<ul class="blockList"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<dl> <dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<dl>
<dt>Enclosing class:</dt> <dt>Enclosing class:</dt>
<dd><a href="../../common/parser/Adapters.html" title="class in common.parser">Adapters</a></dd> <dd><a href="../../client/commandline/CommandLineHandlerClient.html" title="class in client.commandline">CommandLineHandlerClient</a></dd>
</dl> </dl>
<hr> <hr>
<br> <br>
<pre>public static class <span class="typeNameLabel">Adapters.NameAdapter</span> <pre>public class <span class="typeNameLabel">CommandLineHandlerClient.ConnectionCommand</span>
extends javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.lang.String&gt;</pre> extends common.commandline.Command</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../serialized-form.html#client.commandline.CommandLineHandlerClient.ConnectionCommand">Serialized Form</a></dd>
</dl>
</li> </li>
</ul> </ul>
</div> </div>
<div class="summary"> <div class="summary">
<ul class="blockList"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.common.commandline.Command">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;common.commandline.Command</h3>
<code>alias, args, clientOnly, description, executable</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="constructor.summary"> <li class="blockList"><a name="constructor.summary">
@ -136,7 +159,7 @@ extends javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.l
<th class="colOne" scope="col">Constructor and Description</th> <th class="colOne" scope="col">Constructor and Description</th>
</tr> </tr>
<tr class="altColor"> <tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../common/parser/Adapters.NameAdapter.html#NameAdapter--">NameAdapter</a></span>()</code>&nbsp;</td> <td class="colOne"><code><span class="memberNameLink"><a href="../../client/commandline/CommandLineHandlerClient.ConnectionCommand.html#ConnectionCommand--">ConnectionCommand</a></span>()</code>&nbsp;</td>
</tr> </tr>
</table> </table>
</li> </li>
@ -154,15 +177,18 @@ extends javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.l
<th class="colLast" scope="col">Method and Description</th> <th class="colLast" scope="col">Method and Description</th>
</tr> </tr>
<tr id="i0" class="altColor"> <tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../common/parser/Adapters.NameAdapter.html#marshal-java.lang.String-">marshal</a></span>(java.lang.String&nbsp;v)</code>&nbsp;</td> <td class="colLast"><code><span class="memberNameLink"><a href="../../client/commandline/CommandLineHandlerClient.ConnectionCommand.html#validate-java.lang.String:A-">validate</a></span>(java.lang.String[]&nbsp;args)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../common/parser/Adapters.NameAdapter.html#unmarshal-java.lang.String-">unmarshal</a></span>(java.lang.String&nbsp;v)</code>&nbsp;</td>
</tr> </tr>
</table> </table>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.common.commandline.Command">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;common.commandline.Command</h3>
<code>executeOnClient, getAlias, getArgs, getDescription, getExecutable, isClientOnly, setExecutable</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- --> <!-- -->
</a> </a>
@ -183,13 +209,13 @@ extends javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.l
<!-- --> <!-- -->
</a> </a>
<h3>Constructor Detail</h3> <h3>Constructor Detail</h3>
<a name="NameAdapter--"> <a name="ConnectionCommand--">
<!-- --> <!-- -->
</a> </a>
<ul class="blockListLast"> <ul class="blockListLast">
<li class="blockList"> <li class="blockList">
<h4>NameAdapter</h4> <h4>ConnectionCommand</h4>
<pre>public&nbsp;NameAdapter()</pre> <pre>public&nbsp;ConnectionCommand()</pre>
</li> </li>
</ul> </ul>
</li> </li>
@ -200,35 +226,16 @@ extends javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.l
<!-- --> <!-- -->
</a> </a>
<h3>Method Detail</h3> <h3>Method Detail</h3>
<a name="unmarshal-java.lang.String-"> <a name="validate-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unmarshal</h4>
<pre>public&nbsp;java.lang.String&nbsp;unmarshal(java.lang.String&nbsp;v)
throws java.lang.Exception</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>unmarshal</code>&nbsp;in class&nbsp;<code>javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.lang.String&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a name="marshal-java.lang.String-">
<!-- --> <!-- -->
</a> </a>
<ul class="blockListLast"> <ul class="blockListLast">
<li class="blockList"> <li class="blockList">
<h4>marshal</h4> <h4>validate</h4>
<pre>public&nbsp;java.lang.String&nbsp;marshal(java.lang.String&nbsp;v) <pre>public&nbsp;boolean&nbsp;validate(java.lang.String[]&nbsp;args)</pre>
throws java.lang.Exception</pre>
<dl> <dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>marshal</code>&nbsp;in class&nbsp;<code>javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.lang.String&gt;</code></dd> <dd><code>validate</code>&nbsp;in class&nbsp;<code>common.commandline.Command</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl> </dl>
</li> </li>
</ul> </ul>
@ -259,12 +266,12 @@ extends javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.l
</div> </div>
<div class="subNav"> <div class="subNav">
<ul class="navList"> <ul class="navList">
<li><a href="../../common/parser/Adapters.LocalDateAdapter.html" title="class in common.parser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../client/commandline/CommandLineHandlerClient.html" title="class in client.commandline"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../common/parser/Adapters.PassportAdapter.html" title="class in common.parser"><span class="typeNameLink">Next&nbsp;Class</span></a></li> <li>Next&nbsp;Class</li>
</ul> </ul>
<ul class="navList"> <ul class="navList">
<li><a href="../../index.html?common/parser/Adapters.NameAdapter.html" target="_top">Frames</a></li> <li><a href="../../index.html?client/commandline/CommandLineHandlerClient.ConnectionCommand.html" target="_top">Frames</a></li>
<li><a href="Adapters.NameAdapter.html" target="_top">No&nbsp;Frames</a></li> <li><a href="CommandLineHandlerClient.ConnectionCommand.html" target="_top">No&nbsp;Frames</a></li>
</ul> </ul>
<ul class="navList" id="allclasses_navbar_bottom"> <ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li> <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
@ -285,7 +292,7 @@ extends javax.xml.bind.annotation.adapters.XmlAdapter&lt;java.lang.String,java.l
<ul class="subNavList"> <ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#fields.inherited.from.class.common.commandline.Command">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>

View file

@ -0,0 +1,321 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc -->
<title>CommandLineHandlerClient (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CommandLineHandlerClient (Lab5Client 3.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?client/commandline/CommandLineHandlerClient.html" target="_top">Frames</a></li>
<li><a href="CommandLineHandlerClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.common.commandline.CommandLineHandler">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">client.commandline</div>
<h2 title="Class CommandLineHandlerClient" class="title">Class CommandLineHandlerClient</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>common.commandline.CommandLineHandler</li>
<li>
<ul class="inheritance">
<li>client.commandline.CommandLineHandlerClient</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="typeNameLabel">CommandLineHandlerClient</span>
extends common.commandline.CommandLineHandler</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline">CommandLineHandlerClient.ConnectionCommand</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.common.commandline.CommandLineHandler">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;common.commandline.CommandLineHandler</h3>
<code>common.commandline.CommandLineHandler.CommandLineNotInitialized, common.commandline.CommandLineHandler.ExecuteScriptCommand, common.commandline.CommandLineHandler.ExitCommand, common.commandline.CommandLineHandler.HistoryCommand</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.common.commandline.CommandLineHandler">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;common.commandline.CommandLineHandler</h3>
<code>fileNames, history, inputs, instance, isActive, reader</code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../client/commandline/CommandLineHandlerClient.html#executeCommand-java.lang.String-java.lang.String:A-">executeCommand</a></span>(java.lang.String&nbsp;alias,
java.lang.String[]&nbsp;args)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>common.commandline.response.CommandResult</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../client/commandline/CommandLineHandlerClient.html#executeOnServer-client.net.UDPClient-common.commandline.Command-">executeOnServer</a></span>(<a href="../../client/net/UDPClient.html" title="class in client.net">UDPClient</a>&nbsp;udp,
common.commandline.Command&nbsp;command)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static common.commandline.CommandLineHandler</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../client/commandline/CommandLineHandlerClient.html#getClientCommandLine--">getClientCommandLine</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.common.commandline.CommandLineHandler">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;common.commandline.CommandLineHandler</h3>
<code>addNewInput, awaitInput, awaitInput, awaitInput, clearScreen, executeScript, exit, getInstance, history, history, input, isActive, removeInput, start, updateHistory</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getClientCommandLine--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClientCommandLine</h4>
<pre>public static&nbsp;common.commandline.CommandLineHandler&nbsp;getClientCommandLine()</pre>
</li>
</ul>
<a name="executeCommand-java.lang.String-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeCommand</h4>
<pre>protected&nbsp;void&nbsp;executeCommand(java.lang.String&nbsp;alias,
java.lang.String[]&nbsp;args)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>executeCommand</code>&nbsp;in class&nbsp;<code>common.commandline.CommandLineHandler</code></dd>
</dl>
</li>
</ul>
<a name="executeOnServer-client.net.UDPClient-common.commandline.Command-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>executeOnServer</h4>
<pre>public&nbsp;common.commandline.response.CommandResult&nbsp;executeOnServer(<a href="../../client/net/UDPClient.html" title="class in client.net">UDPClient</a>&nbsp;udp,
common.commandline.Command&nbsp;command)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?client/commandline/CommandLineHandlerClient.html" target="_top">Frames</a></li>
<li><a href="CommandLineHandlerClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.common.commandline.CommandLineHandler">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.commandline (Lab5Client 2.2 API)</title> <title>client.commandline (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.commandline (Lab5Client 2.2 API)</title> <title>client.commandline (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client.commandline (Lab5Client 2.2 API)"; parent.document.title="client.commandline (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.commandline Class Hierarchy (Lab5Client 2.2 API)</title> <title>client.commandline Class Hierarchy (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client.commandline Class Hierarchy (Lab5Client 2.2 API)"; parent.document.title="client.commandline Class Hierarchy (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {
@ -82,7 +82,6 @@
<li type="circle">common.commandline.Command (implements java.io.Serializable) <li type="circle">common.commandline.Command (implements java.io.Serializable)
<ul> <ul>
<li type="circle">client.commandline.<a href="../../client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ConnectionCommand</span></a></li> <li type="circle">client.commandline.<a href="../../client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ConnectionCommand</span></a></li>
<li type="circle">client.commandline.<a href="../../client/commandline/CommandLineHandlerClient.ModeCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ModeCommand</span></a></li>
</ul> </ul>
</li> </li>
<li type="circle">common.commandline.CommandLineHandler <li type="circle">common.commandline.CommandLineHandler

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>AddCommand (Lab5Client 2.2 API)</title> <title>AddCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AddCommand (Lab5Client 2.2 API)"; parent.document.title="AddCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>AddIfMaxCommand (Lab5Client 2.2 API)</title> <title>AddIfMaxCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AddIfMaxCommand (Lab5Client 2.2 API)"; parent.document.title="AddIfMaxCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>AddIfMinCommand (Lab5Client 2.2 API)</title> <title>AddIfMinCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AddIfMinCommand (Lab5Client 2.2 API)"; parent.document.title="AddIfMinCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>ClearCommand (Lab5Client 2.2 API)</title> <title>ClearCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ClearCommand (Lab5Client 2.2 API)"; parent.document.title="ClearCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>FilterContainsNameCommand (Lab5Client 2.2 API)</title> <title>FilterContainsNameCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FilterContainsNameCommand (Lab5Client 2.2 API)"; parent.document.title="FilterContainsNameCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>InfoCommand (Lab5Client 2.2 API)</title> <title>InfoCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="InfoCommand (Lab5Client 2.2 API)"; parent.document.title="InfoCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>PrintFieldDescendingLocationCommand (Lab5Client 2.2 API)</title> <title>PrintFieldDescendingLocationCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PrintFieldDescendingLocationCommand (Lab5Client 2.2 API)"; parent.document.title="PrintFieldDescendingLocationCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>RemoveByIdCommand (Lab5Client 2.2 API)</title> <title>RemoveByIdCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RemoveByIdCommand (Lab5Client 2.2 API)"; parent.document.title="RemoveByIdCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>ShowCommand (Lab5Client 2.2 API)</title> <title>ShowCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ShowCommand (Lab5Client 2.2 API)"; parent.document.title="ShowCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>SumOfHeightCommand (Lab5Client 2.2 API)</title> <title>SumOfHeightCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SumOfHeightCommand (Lab5Client 2.2 API)"; parent.document.title="SumOfHeightCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>UpdateCommand (Lab5Client 2.2 API)</title> <title>UpdateCommand (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UpdateCommand (Lab5Client 2.2 API)"; parent.document.title="UpdateCommand (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.commandline.pdcommands (Lab5Client 2.2 API)</title> <title>client.commandline.pdcommands (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.commandline.pdcommands (Lab5Client 2.2 API)</title> <title>client.commandline.pdcommands (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client.commandline.pdcommands (Lab5Client 2.2 API)"; parent.document.title="client.commandline.pdcommands (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.commandline.pdcommands Class Hierarchy (Lab5Client 2.2 API)</title> <title>client.commandline.pdcommands Class Hierarchy (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script> <script type="text/javascript" src="../../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client.commandline.pdcommands Class Hierarchy (Lab5Client 2.2 API)"; parent.document.title="client.commandline.pdcommands Class Hierarchy (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>UDPClient (Lab5Client 2.2 API)</title> <title>UDPClient (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UDPClient (Lab5Client 2.2 API)"; parent.document.title="UDPClient (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.net (Lab5Client 2.2 API)</title> <title>client.net (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.net (Lab5Client 2.2 API)</title> <title>client.net (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client.net (Lab5Client 2.2 API)"; parent.document.title="client.net (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client.net Class Hierarchy (Lab5Client 2.2 API)</title> <title>client.net Class Hierarchy (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client.net Class Hierarchy (Lab5Client 2.2 API)"; parent.document.title="client.net Class Hierarchy (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client (Lab5Client 2.2 API)</title> <title>client (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client (Lab5Client 2.2 API)</title> <title>client (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client (Lab5Client 2.2 API)"; parent.document.title="client (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>client Class Hierarchy (Lab5Client 2.2 API)</title> <title>client Class Hierarchy (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="client Class Hierarchy (Lab5Client 2.2 API)"; parent.document.title="client Class Hierarchy (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Constant Field Values (Lab5Client 2.2 API)</title> <title>Constant Field Values (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (Lab5Client 2.2 API)"; parent.document.title="Constant Field Values (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Deprecated List (Lab5Client 2.2 API)</title> <title>Deprecated List (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (Lab5Client 2.2 API)"; parent.document.title="Deprecated List (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>API Help (Lab5Client 2.2 API)</title> <title>API Help (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (Lab5Client 2.2 API)"; parent.document.title="API Help (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Index (Lab5Client 2.2 API)</title> <title>Index (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (Lab5Client 2.2 API)"; parent.document.title="Index (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {
@ -106,8 +106,6 @@
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ConnectionCommand</span></a> - Class in <a href="client/commandline/package-summary.html">client.commandline</a></dt> <dt><a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ConnectionCommand</span></a> - Class in <a href="client/commandline/package-summary.html">client.commandline</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><a href="client/commandline/CommandLineHandlerClient.ModeCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ModeCommand</span></a> - Class in <a href="client/commandline/package-summary.html">client.commandline</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/net/UDPClient.html#connect--">connect()</a></span> - Method in class client.net.<a href="client/net/UDPClient.html" title="class in client.net">UDPClient</a></dt> <dt><span class="memberNameLink"><a href="client/net/UDPClient.html#connect--">connect()</a></span> - Method in class client.net.<a href="client/net/UDPClient.html" title="class in client.net">UDPClient</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html#ConnectionCommand--">ConnectionCommand()</a></span> - Constructor for class client.commandline.<a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline">CommandLineHandlerClient.ConnectionCommand</a></dt> <dt><span class="memberNameLink"><a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html#ConnectionCommand--">ConnectionCommand()</a></span> - Constructor for class client.commandline.<a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline">CommandLineHandlerClient.ConnectionCommand</a></dt>
@ -180,8 +178,6 @@
<dl> <dl>
<dt><span class="memberNameLink"><a href="client/Lab5Client.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class client.<a href="client/Lab5Client.html" title="class in client">Lab5Client</a></dt> <dt><span class="memberNameLink"><a href="client/Lab5Client.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class client.<a href="client/Lab5Client.html" title="class in client">Lab5Client</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/commandline/CommandLineHandlerClient.ModeCommand.html#ModeCommand--">ModeCommand()</a></span> - Constructor for class client.commandline.<a href="client/commandline/CommandLineHandlerClient.ModeCommand.html" title="class in client.commandline">CommandLineHandlerClient.ModeCommand</a></dt>
<dd>&nbsp;</dd>
</dl> </dl>
<a name="I:P"> <a name="I:P">
<!-- --> <!-- -->
@ -248,8 +244,6 @@
<dl> <dl>
<dt><span class="memberNameLink"><a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html#validate-java.lang.String:A-">validate(String[])</a></span> - Method in class client.commandline.<a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline">CommandLineHandlerClient.ConnectionCommand</a></dt> <dt><span class="memberNameLink"><a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html#validate-java.lang.String:A-">validate(String[])</a></span> - Method in class client.commandline.<a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline">CommandLineHandlerClient.ConnectionCommand</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/commandline/CommandLineHandlerClient.ModeCommand.html#validate-java.lang.String:A-">validate(String[])</a></span> - Method in class client.commandline.<a href="client/commandline/CommandLineHandlerClient.ModeCommand.html" title="class in client.commandline">CommandLineHandlerClient.ModeCommand</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/commandline/pdcommands/AddCommand.html#validate-java.lang.String:A-">validate(String[])</a></span> - Method in class client.commandline.pdcommands.<a href="client/commandline/pdcommands/AddCommand.html" title="class in client.commandline.pdcommands">AddCommand</a></dt> <dt><span class="memberNameLink"><a href="client/commandline/pdcommands/AddCommand.html#validate-java.lang.String:A-">validate(String[])</a></span> - Method in class client.commandline.pdcommands.<a href="client/commandline/pdcommands/AddCommand.html" title="class in client.commandline.pdcommands">AddCommand</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/commandline/pdcommands/AddIfMaxCommand.html#validate-java.lang.String:A-">validate(String[])</a></span> - Method in class client.commandline.pdcommands.<a href="client/commandline/pdcommands/AddIfMaxCommand.html" title="class in client.commandline.pdcommands">AddIfMaxCommand</a></dt> <dt><span class="memberNameLink"><a href="client/commandline/pdcommands/AddIfMaxCommand.html#validate-java.lang.String:A-">validate(String[])</a></span> - Method in class client.commandline.pdcommands.<a href="client/commandline/pdcommands/AddIfMaxCommand.html" title="class in client.commandline.pdcommands">AddIfMaxCommand</a></dt>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Lab5Client 2.2 API</title> <title>Lab5Client 3.0 API</title>
<script type="text/javascript"> <script type="text/javascript">
tmpTargetPage = "" + window.location.search; tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined") if (tmpTargetPage != "" && tmpTargetPage != "undefined")

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Overview List (Lab5Client 2.2 API)</title> <title>Overview List (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Overview (Lab5Client 2.2 API)</title> <title>Overview (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Overview (Lab5Client 2.2 API)"; parent.document.title="Overview (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {
@ -68,7 +68,7 @@
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="header"> <div class="header">
<h1 class="title">Lab5Client 2.2 API</h1> <h1 class="title">Lab5Client 3.0 API</h1>
</div> </div>
<div class="contentContainer"> <div class="contentContainer">
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages, and an explanation"> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages, and an explanation">

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Class Hierarchy (Lab5Client 2.2 API)</title> <title>Class Hierarchy (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (Lab5Client 2.2 API)"; parent.document.title="Class Hierarchy (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {
@ -85,7 +85,6 @@
<li type="circle">common.commandline.Command (implements java.io.Serializable) <li type="circle">common.commandline.Command (implements java.io.Serializable)
<ul> <ul>
<li type="circle">client.commandline.<a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ConnectionCommand</span></a></li> <li type="circle">client.commandline.<a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ConnectionCommand</span></a></li>
<li type="circle">client.commandline.<a href="client/commandline/CommandLineHandlerClient.ModeCommand.html" title="class in client.commandline"><span class="typeNameLink">CommandLineHandlerClient.ModeCommand</span></a></li>
<li type="circle">common.commandline.pdcommands.PeopleDatabaseCommand <li type="circle">common.commandline.pdcommands.PeopleDatabaseCommand
<ul> <ul>
<li type="circle">client.commandline.pdcommands.<a href="client/commandline/pdcommands/AddCommand.html" title="class in client.commandline.pdcommands"><span class="typeNameLink">AddCommand</span></a></li> <li type="circle">client.commandline.pdcommands.<a href="client/commandline/pdcommands/AddCommand.html" title="class in client.commandline.pdcommands"><span class="typeNameLink">AddCommand</span></a></li>

View file

@ -3,7 +3,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<!-- Generated by javadoc --> <!-- Generated by javadoc -->
<title>Serialized Form (Lab5Client 2.2 API)</title> <title>Serialized Form (Lab5Client 3.0 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Serialized Form (Lab5Client 2.2 API)"; parent.document.title="Serialized Form (Lab5Client 3.0 API)";
} }
} }
catch(err) { catch(err) {
@ -80,11 +80,6 @@
</a> </a>
<h3>Class <a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline">client.commandline.CommandLineHandlerClient.ConnectionCommand</a> extends common.commandline.Command implements Serializable</h3> <h3>Class <a href="client/commandline/CommandLineHandlerClient.ConnectionCommand.html" title="class in client.commandline">client.commandline.CommandLineHandlerClient.ConnectionCommand</a> extends common.commandline.Command implements Serializable</h3>
</li> </li>
<li class="blockList"><a name="client.commandline.CommandLineHandlerClient.ModeCommand">
<!-- -->
</a>
<h3>Class <a href="client/commandline/CommandLineHandlerClient.ModeCommand.html" title="class in client.commandline">client.commandline.CommandLineHandlerClient.ModeCommand</a> extends common.commandline.Command implements Serializable</h3>
</li>
</ul> </ul>
</li> </li>
<li class="blockList"> <li class="blockList">

Binary file not shown.

Binary file not shown.

View file

@ -1,10 +1,10 @@
-classpath 'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\build\\classes\\java\\main;C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\build\\resources\\main;C:\\Users\\egor\\.gradle\\caches\\modules-2\\files-2.1\\org.projectlombok\\lombok\\1.18.24\\13a394eed5c4f9efb2a6d956e2086f1d81e857d9\\lombok-1.18.24.jar;C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Core\\build\\libs\\Lab5Core-2.2.jar' -classpath 'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\build\\classes\\java\\main;C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\build\\resources\\main;C:\\Users\\egor\\.gradle\\caches\\modules-2\\files-2.1\\org.projectlombok\\lombok\\1.18.24\\13a394eed5c4f9efb2a6d956e2086f1d81e857d9\\lombok-1.18.24.jar;C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Core\\build\\libs\\Lab5Core-3.0.jar'
-d 'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\build\\docs\\javadoc' -d 'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\build\\docs\\javadoc'
-doctitle 'Lab5Client 2.2 API' -doctitle 'Lab5Client 3.0 API'
-encoding 'UTF-8' -encoding 'UTF-8'
-notimestamp -notimestamp
-quiet -quiet
-windowtitle 'Lab5Client 2.2 API' -windowtitle 'Lab5Client 3.0 API'
'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\src\\main\\java\\client\\commandline\\CommandLineHandlerClient.java' 'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\src\\main\\java\\client\\commandline\\CommandLineHandlerClient.java'
'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\src\\main\\java\\client\\commandline\\pdcommands\\AddCommand.java' 'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\src\\main\\java\\client\\commandline\\pdcommands\\AddCommand.java'
'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\src\\main\\java\\client\\commandline\\pdcommands\\AddIfMaxCommand.java' 'C:\\Users\\egor\\IdeaProjects\\Lab5\\Lab5Client\\src\\main\\java\\client\\commandline\\pdcommands\\AddIfMaxCommand.java'

View file

@ -2,9 +2,6 @@ package client;
import client.commandline.CommandLineHandlerClient; import client.commandline.CommandLineHandlerClient;
import common.commandline.CommandLineHandler; import common.commandline.CommandLineHandler;
import common.commandline.pdcommands.PeopleDatabaseCommands;
import common.collection.Database;
import common.collection.PeopleDatabase;
import common.util.UtilFunctions; import common.util.UtilFunctions;
import java.util.logging.Logger; import java.util.logging.Logger;
@ -15,16 +12,6 @@ public class Lab5Client {
public static void main(String[] args) { public static void main(String[] args) {
CommandLineHandler cmd = CommandLineHandlerClient.getClientCommandLine(); CommandLineHandler cmd = CommandLineHandlerClient.getClientCommandLine();
PeopleDatabase peopleDatabase = new PeopleDatabase(LOGGER);
try {
peopleDatabase.load();
} catch (Database.DatabaseLoadFailedException e) {
System.out.println(e.getMessage());
System.exit(-1);
}
PeopleDatabaseCommands.peopleDatabase = peopleDatabase;
cmd.start(); cmd.start();
} }
} }

View file

@ -8,7 +8,7 @@ import common.commandline.CommandRegistry;
import common.commandline.response.CommandResult; import common.commandline.response.CommandResult;
import common.commandline.response.DefaultResponse; import common.commandline.response.DefaultResponse;
import common.commandline.response.Response; import common.commandline.response.Response;
import common.parser.ConnectionProperties; import common.net.ConnectionProperties;
import common.util.UtilFunctions; import common.util.UtilFunctions;
import java.io.*; import java.io.*;
@ -16,12 +16,11 @@ import java.util.Locale;
public final class CommandLineHandlerClient extends CommandLineHandler { public final class CommandLineHandlerClient extends CommandLineHandler {
private boolean clientMode = true;
private final UDPClient udp = new UDPClient(ConnectionProperties.getHostname(), ConnectionProperties.getPort()); private final UDPClient udp = new UDPClient(ConnectionProperties.getHostname(), ConnectionProperties.getPort());
private CommandLineHandlerClient() { private CommandLineHandlerClient() {
super(); super();
CommandRegistry.registerCommands(new ModeCommand(), new ConnectionCommand(), new InfoCommand(), new ShowCommand(), new AddCommand(), new AddIfMaxCommand(), CommandRegistry.registerCommands(new ConnectionCommand(), new InfoCommand(), new ShowCommand(), new AddCommand(), new AddIfMaxCommand(),
new AddIfMinCommand(), new ClearCommand(), new FilterContainsNameCommand(), new PrintFieldDescendingLocationCommand(), new AddIfMinCommand(), new ClearCommand(), new FilterContainsNameCommand(), new PrintFieldDescendingLocationCommand(),
new RemoveByIdCommand(), new SumOfHeightCommand(), new UpdateCommand()); new RemoveByIdCommand(), new SumOfHeightCommand(), new UpdateCommand());
} }
@ -39,8 +38,7 @@ public final class CommandLineHandlerClient extends CommandLineHandler {
} }
boolean argsValid = command.validate(args); boolean argsValid = command.validate(args);
if (!argsValid) return; if (!argsValid) return;
boolean isClient = command.isClientOnly() || clientMode; CommandResult result = command.isClientOnly() ? command.executeOnClient() : executeOnServer(udp, command);
CommandResult result = isClient ? command.executeOnClient() : executeOnServer(udp, command);
PrintStream ps = result.getResponse() == DefaultResponse.OK ? System.out : System.err; PrintStream ps = result.getResponse() == DefaultResponse.OK ? System.out : System.err;
ps.println(result.getValue()); ps.println(result.getValue());
updateHistory(alias); updateHistory(alias);
@ -50,40 +48,6 @@ public final class CommandLineHandlerClient extends CommandLineHandler {
return udp.send(command.getExecutable(), command.getArgs()); return udp.send(command.getExecutable(), command.getArgs());
} }
public class ModeCommand extends Command {
public ModeCommand() {
super("mode", true, "mode [sw] : выводит режим работы программы, если написать sw, меняет режим с серверного на клиентский или наоборот");
this.executable = args -> {
String result;
if (args.length == 0) {
result = "Программа работает в режиме клиент " + (clientMode ? "" : "+ сервер");
} else {
if (clientMode) {
result = "Режим работы сменен на клиент + сервер";
udp.connect();
if (!udp.isAvailable()) {
udp.disconnect();
clientMode = true;
return new CommandResult("Не удалось установить соединение с сервером", DefaultResponse.SERVER_ERROR);
} else clientMode = false;
} else {
result = "Режим работы сменен на клиент";
udp.disconnect();
clientMode = true;
}
}
return new CommandResult(result, DefaultResponse.OK);
};
}
@Override
public boolean validate(String[] args) {
if (args.length > 0 && args[0].equals("sw")) this.args = args;
else this.args = new Object[]{};
return true;
}
}
public class ConnectionCommand extends Command { public class ConnectionCommand extends Command {
public ConnectionCommand() { public ConnectionCommand() {
super("con", true, "con [host|port] [value] : выводит информацию о сохраненных данных соединения с сервером, можно менять адрес или порт написав host или port и после них соответствующее значение"); super("con", true, "con [host|port] [value] : выводит информацию о сохраненных данных соединения с сервером, можно менять адрес или порт написав host или port и после них соответствующее значение");

View file

@ -7,7 +7,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommands;
public class AddCommand extends PeopleDatabaseCommand { public class AddCommand extends PeopleDatabaseCommand {
public AddCommand() { public AddCommand() {
super("add", false, "add <Person> : добавить новый элемент в коллекцию", super("add", false, "add <Person> : добавить новый элемент в коллекцию",
Executables.ADD.getExecutable()); Executables.ADD.executable);
} }
@Override @Override

View file

@ -7,7 +7,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommands;
public class AddIfMaxCommand extends PeopleDatabaseCommand { public class AddIfMaxCommand extends PeopleDatabaseCommand {
public AddIfMaxCommand() { public AddIfMaxCommand() {
super("add_if_max", false, "add_if_max <Person> : добавить новый элемент в коллекцию, если его значение превышает значение наибольшего элемента этой коллекции", super("add_if_max", false, "add_if_max <Person> : добавить новый элемент в коллекцию, если его значение превышает значение наибольшего элемента этой коллекции",
Executables.ADD_IF_MAX.getExecutable()); Executables.ADD_IF_MAX.executable);
} }
@Override @Override

View file

@ -7,7 +7,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommands;
public class AddIfMinCommand extends PeopleDatabaseCommand { public class AddIfMinCommand extends PeopleDatabaseCommand {
public AddIfMinCommand() { public AddIfMinCommand() {
super("add_if_min", false, "add_if_min <Person> : добавить новый элемент в коллекцию, если его значение меньше, чем у наименьшего элемента этой коллекции", super("add_if_min", false, "add_if_min <Person> : добавить новый элемент в коллекцию, если его значение меньше, чем у наименьшего элемента этой коллекции",
Executables.ADD_IF_MIN.getExecutable()); Executables.ADD_IF_MIN.executable);
} }
@Override @Override

View file

@ -6,7 +6,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommand;
public class ClearCommand extends PeopleDatabaseCommand { public class ClearCommand extends PeopleDatabaseCommand {
public ClearCommand() { public ClearCommand() {
super("clear", false, "clear : очистить коллекцию", super("clear", false, "clear : очистить коллекцию",
Executables.CLEAR.getExecutable()); Executables.CLEAR.executable);
} }
@Override @Override

View file

@ -6,7 +6,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommand;
public class FilterContainsNameCommand extends PeopleDatabaseCommand { public class FilterContainsNameCommand extends PeopleDatabaseCommand {
public FilterContainsNameCommand() { public FilterContainsNameCommand() {
super("filter_contains_name", false, "filter_contains_name {name} : вывести элементы, значение поля name которых содержит заданную подстроку", super("filter_contains_name", false, "filter_contains_name {name} : вывести элементы, значение поля name которых содержит заданную подстроку",
Executables.FILTER_CONTAINS_NAME.getExecutable()); Executables.FILTER_CONTAINS_NAME.executable);
} }
@Override @Override

View file

@ -6,7 +6,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommand;
public class InfoCommand extends PeopleDatabaseCommand { public class InfoCommand extends PeopleDatabaseCommand {
public InfoCommand() { public InfoCommand() {
super("info", false, "info : вывести в стандартный поток вывода информацию о коллекции (тип, дата инициализации, количество элементов и т.д.)", super("info", false, "info : вывести в стандартный поток вывода информацию о коллекции (тип, дата инициализации, количество элементов и т.д.)",
Executables.INFO.getExecutable()); Executables.INFO.executable);
} }
@Override @Override

View file

@ -6,7 +6,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommand;
public class PrintFieldDescendingLocationCommand extends PeopleDatabaseCommand { public class PrintFieldDescendingLocationCommand extends PeopleDatabaseCommand {
public PrintFieldDescendingLocationCommand() { public PrintFieldDescendingLocationCommand() {
super("print_field_descending_location", false, "print_field_descending_location : вывести значения поля location всех элементов в порядке убывания", super("print_field_descending_location", false, "print_field_descending_location : вывести значения поля location всех элементов в порядке убывания",
Executables.PRINT_FIELD_DESCENDING_LOCATION.getExecutable()); Executables.PRINT_FIELD_DESCENDING_LOCATION.executable);
} }
@Override @Override

View file

@ -7,7 +7,7 @@ import common.util.UtilFunctions;
public class RemoveByIdCommand extends PeopleDatabaseCommand { public class RemoveByIdCommand extends PeopleDatabaseCommand {
public RemoveByIdCommand() { public RemoveByIdCommand() {
super("remove_by_id", false, "remove_by_id {id} : удалить элемент из коллекции по его {id}", super("remove_by_id", false, "remove_by_id {id} : удалить элемент из коллекции по его {id}",
Executables.REMOVE_BY_ID.getExecutable()); Executables.REMOVE_BY_ID.executable);
} }
@Override @Override

View file

@ -6,7 +6,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommand;
public class ShowCommand extends PeopleDatabaseCommand { public class ShowCommand extends PeopleDatabaseCommand {
public ShowCommand() { public ShowCommand() {
super("show", false, "show : вывести в стандартный поток вывода все элементы коллекции в строковом представлении", super("show", false, "show : вывести в стандартный поток вывода все элементы коллекции в строковом представлении",
Executables.SHOW.getExecutable()); Executables.SHOW.executable);
} }
@Override @Override

View file

@ -6,7 +6,7 @@ import common.commandline.pdcommands.PeopleDatabaseCommand;
public class SumOfHeightCommand extends PeopleDatabaseCommand { public class SumOfHeightCommand extends PeopleDatabaseCommand {
public SumOfHeightCommand() { public SumOfHeightCommand() {
super("sum_of_height", false, "sum_of_height : вывести сумму значений поля height для всех элементов коллекции", super("sum_of_height", false, "sum_of_height : вывести сумму значений поля height для всех элементов коллекции",
Executables.SUM_OF_HEIGHT.getExecutable()); Executables.SUM_OF_HEIGHT.executable);
} }
@Override @Override

View file

@ -8,7 +8,7 @@ import common.util.UtilFunctions;
public class UpdateCommand extends PeopleDatabaseCommand { public class UpdateCommand extends PeopleDatabaseCommand {
public UpdateCommand() { public UpdateCommand() {
super("update", false, "update {id} <Person> : обновить значение элемента коллекции, {id} которого равен заданному", super("update", false, "update {id} <Person> : обновить значение элемента коллекции, {id} которого равен заданному",
Executables.UPDATE.getExecutable()); Executables.UPDATE.executable);
} }
@Override @Override

View file

@ -3,7 +3,7 @@ plugins {
} }
group = "ru.erius.lab5" group = "ru.erius.lab5"
version = "2.2" version = "3.0"
repositories { repositories {
mavenCentral() mavenCentral()

Some files were not shown because too many files have changed in this diff Show more