com.pmstation.spss.variable
Class StringVariable

java.lang.Object
  extended by com.pmstation.spss.variable.SPSSVariable
      extended by com.pmstation.spss.variable.StringVariable

public class StringVariable
extends SPSSVariable

Represents string variable


Constructor Summary
StringVariable()
           
 
Method Summary
 int getLength()
          Gets the length.
 java.lang.Object readFromStream(DecompressionInputStream in)
          Reads string variable value of specified length from stream.
 void setLength(int length)
          Sets the length.
 
Methods inherited from class com.pmstation.spss.variable.SPSSVariable
getLabel, getLegacyName, getMissingValues, getName, getPrintFormat, getValueLabels, getWriteFormat, isCaseWeight, setCaseWeight, setLabel, setLegacyName, setMissingValues, setName, setPrintFormat, setValueLabels, setWriteFormat
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringVariable

public StringVariable()
Method Detail

getLength

public int getLength()
Gets the length.

Returns:
the length

setLength

public void setLength(int length)
Sets the length.

Parameters:
length - the new length

readFromStream

public java.lang.Object readFromStream(DecompressionInputStream in)
                                throws java.io.IOException
Reads string variable value of specified length from stream.

Specified by:
readFromStream in class SPSSVariable
Parameters:
in - input stream
Returns:
variable value
Throws:
java.io.IOException - Signals that an I/O exception has occurred.


Copyright © 2003-2004 pmStation.com. All Rights Reserved.