|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--edu.vt.marian.WebGate.query_data_for_one_server
Class name: query_data_for_one_server Class description: this class represent the query data corresponds to a server it's a component of the class query_data Author: Jianxin Zhao Finished time: ????, 1998 Known bugs: none Platform: jdk1.1.5 under UNIX
| Constructor Summary | |
query_data_for_one_server(java.io.BufferedReader br,
edu.vt.marian.common.Debug debug)
this constructor will create a query data for one server object from the specified directory |
|
query_data_for_one_server(java.io.DataInputStream dis)
this constructor will create a query data for one server object from a stream, this might be helpful for remote manage in the future (not implemented yet) |
|
query_data_for_one_server(edu.vt.marian.common.Debug debug)
this constructor will create a query data for one server object, the object is empty upon creation |
|
query_data_for_one_server(java.lang.String dir,
edu.vt.marian.common.Debug debug)
this constructor will create a query data for one server object from the specified directory |
|
| Method Summary | |
java.lang.String |
add_field(java.lang.String name,
java.lang.String value)
this method will add the field with the specified value to this object |
java.lang.String |
add_preference(java.lang.String name,
java.lang.String value)
this method will add the specified preference with the specified value to this object |
java.lang.String |
delete_field(java.lang.String name)
this method will delete the specified field from this object |
java.lang.String |
delete_preference(java.lang.String name)
this method will delete the specified preference from this object |
java.util.Vector |
get_field_names()
this method will return all the field names of this object |
java.util.Vector |
get_preference_names()
this method will return all the preference names of this object |
java.lang.String |
get_preference_value(java.lang.String name)
this method will return the value of the specified preference of this object |
java.lang.String |
get_relation()
this method will return the relationship between fields of this object |
edu.vt.marian.uip.uip_server |
get_server()
this method will return the server this object is corresponds to |
java.lang.String |
get_value(java.lang.String field_name)
this method will return the value of the specified field of this object |
java.lang.String |
save(java.io.PrintWriter pw)
this method will save the content of this object to the specified directory or file |
java.lang.String |
save(java.lang.String dir)
this method will save the content of this object to the specified directory or file |
java.lang.String |
set_field(java.lang.String name,
java.lang.String value)
this method will set the specified field to the specified value for this object |
java.lang.String |
set_preference(java.lang.String name,
java.lang.String value)
this method will set the specified preference with the specified value |
java.lang.String |
set_relation(java.lang.String relation)
this method will set the relation between the fields of this object |
java.lang.String |
set_server(edu.vt.marian.uip.uip_server us)
this method will set the uip server of this object |
java.lang.String |
to_stream(java.io.DataOutputStream dos)
this method will print the content of this object to a stream, this might be helpful for remote management in the future |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public query_data_for_one_server(edu.vt.marian.common.Debug debug)
public query_data_for_one_server(java.lang.String dir,
edu.vt.marian.common.Debug debug)
public query_data_for_one_server(java.io.BufferedReader br,
edu.vt.marian.common.Debug debug)
public query_data_for_one_server(java.io.DataInputStream dis)
| Method Detail |
public java.lang.String set_server(edu.vt.marian.uip.uip_server us)
public edu.vt.marian.uip.uip_server get_server()
public java.util.Vector get_field_names()
public java.lang.String add_field(java.lang.String name,
java.lang.String value)
public java.lang.String set_field(java.lang.String name,
java.lang.String value)
public java.lang.String delete_field(java.lang.String name)
public java.lang.String get_value(java.lang.String field_name)
public java.lang.String set_relation(java.lang.String relation)
public java.lang.String get_relation()
public java.util.Vector get_preference_names()
public java.lang.String get_preference_value(java.lang.String name)
public java.lang.String add_preference(java.lang.String name,
java.lang.String value)
public java.lang.String set_preference(java.lang.String name,
java.lang.String value)
public java.lang.String delete_preference(java.lang.String name)
public java.lang.String to_stream(java.io.DataOutputStream dos)
public java.lang.String save(java.lang.String dir)
public java.lang.String save(java.io.PrintWriter pw)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||