CADI.Client
Class ClientProperties

java.lang.Object
  extended by CADI.Client.ClientProperties

public class ClientProperties
extends java.lang.Object

This class is a container to save the client parameters.

NOTE: This a transitional class which will be not used

Version:
1.0 2007/10/26
Author:
Group on Interactive Coding of Images (GICI)

Field Summary
 int cacheType
          Indicates, if used, which cache type is used.
static int EXPLICIT
           
 boolean[] imageReturnTypes
          Allowed image return types.
static int IMPLICIT
           
static int NO_CACHE
          Allowed values for cache type
 boolean useIndexRange
           
 boolean useNumberOfBytes
           
 boolean useNumberOfLayers
           
 boolean useWildcard
           
 
Constructor Summary
ClientProperties()
          Constructor.
 
Method Summary
 void list(java.io.PrintStream out)
          Prints this Client Properties fields out to the specified output stream.
 void reset()
          Sets the attributes to its initial values.
 java.lang.String toString()
          For debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cacheType

public int cacheType
Indicates, if used, which cache type is used.


NO_CACHE

public static final int NO_CACHE
Allowed values for cache type

See Also:
Constant Field Values

EXPLICIT

public static final int EXPLICIT
See Also:
Constant Field Values

IMPLICIT

public static final int IMPLICIT
See Also:
Constant Field Values

useWildcard

public boolean useWildcard

useIndexRange

public boolean useIndexRange

useNumberOfLayers

public boolean useNumberOfLayers

useNumberOfBytes

public boolean useNumberOfBytes

imageReturnTypes

public boolean[] imageReturnTypes
Allowed image return types. Each index array corresponds to one, and only one, and indicates if that image return type is available. Each index array value is:
0 - JPP-STREAM
1 - JPT-STREAM
2 - RAW

Further information about image return types, see ImageReturnTypes

Default values are {true, false, false, .... }

Constructor Detail

ClientProperties

public ClientProperties()
Constructor.

Method Detail

reset

public void reset()
Sets the attributes to its initial values.


toString

public java.lang.String toString()
For debugging purposes.

Overrides:
toString in class java.lang.Object

list

public void list(java.io.PrintStream out)
Prints this Client Properties fields out to the specified output stream. This method is useful for debugging.

Parameters:
out - an output stream.


CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Group on Interactive Coding of Images (GICI) (contact)