Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.util
Class TextProgressBar

    java.lang.Object
      org.hyperic.util.TextProgressBar

    public class TextProgressBar

extends java.lang.Object

Constructor Summary
`TextProgressBar(java.io.PrintStream out, java.lang.String name, long total)` Initialize the progress bar

Method Summary
`static void` | `main(java.lang.String[] args)`
`void` | `print()`
`void` | `print(long current)`
`void` | `setRefresh(long refresh)`
`void` | `update(long current)`

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

Constructor Detail

### TextProgressBar

    public TextProgressBar(java.io.PrintStream out,
                           java.lang.String name,
                           long total)

  Initialize the progress bar

  Parameters:
    `os` - Stream to use for writing the progress status
    `name` - The name of the file being transferred
    `total` - Total bytes for completion

Method Detail

### setRefresh

    public void setRefresh(long refresh)

### update

    public void update(long current)

### print

    public void print(long current)

### print

    public void print()

### main

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

  Throws:
    `java.lang.Exception`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.