Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## logging
Class ServersReader

    java.lang.Object
      logging.ServersReader

    public class ServersReader

extends java.lang.Object

This class has one method that is able to read servers from a text file in a special format.

Author:
  Majd Kokaly

Constructor Summary
`ServersReader()`

Method Summary
`static void` | `main(java.lang.String[] args)`
`static void` | `readServersFromFile(java.lang.String fileName, ServersTable table)` This method reads Server objects from a file.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServersReader

    public ServersReader()

Method Detail

### readServersFromFile

    public static void readServersFromFile(java.lang.String fileName,
                                           ServersTable table)

  This method reads Server objects from a file. Every server should be stored on one line in the following format: servername;password;timeToExecuteTestIterations;iterations @see mapping.data.Server

  Parameters:
    `fileName` - a file name containing the servers
    `table` - a ServersTable object to store the obtained servers in

### main

    public static void main(java.lang.String[] args)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD