RSE
Release 1.0

org.eclipse.rse.services.clientserver.java
Class UTF8Info

java.lang.Object
  extended byorg.eclipse.rse.services.clientserver.java.AbstractCPInfo
      extended byorg.eclipse.rse.services.clientserver.java.UTF8Info

public class UTF8Info
extends AbstractCPInfo

This class represents a UTF-8 string.


Field Summary
protected  short[] bytes
           
protected  int length
           
 
Fields inherited from class org.eclipse.rse.services.clientserver.java.AbstractCPInfo
tag
 
Constructor Summary
UTF8Info(short tag, int length, short[] bytes)
          Constructor.
 
Method Summary
 short[] getBytes()
          Returns the bytes.
 int getLength()
          Returns the length.
 
Methods inherited from class org.eclipse.rse.services.clientserver.java.AbstractCPInfo
getTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

protected int length

bytes

protected short[] bytes
Constructor Detail

UTF8Info

public UTF8Info(short tag,
                int length,
                short[] bytes)
Constructor.

Parameters:
tag - the tag.
length - the length;
bytes - the array of bytes with the given length.
Method Detail

getBytes

public short[] getBytes()
Returns the bytes.

Returns:
the bytes.

getLength

public int getLength()
Returns the length.

Returns:
the length.

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.