Jalog 1.4


io.github.JalogTeam.jalog
Class Pro_TermData_String_substring

java.lang.Object
  extended by io.github.JalogTeam.jalog.Pro_TermData
      extended by io.github.JalogTeam.jalog.Pro_TermData_String
          extended by io.github.JalogTeam.jalog.Pro_TermData_String_substring

public class Pro_TermData_String_substring

Note: Don't use this class unless you need some operations or fields that the class Pro_Term does not provide.

This class is one of the classes that can represent string constants.


Method Summary
static Pro_TermData_String make(Pro_TermData_String base_string, long req_start, long req_len)
           Creates a string constant.
 

Method Detail

make

public static Pro_TermData_String make(Pro_TermData_String base_string, long req_start, long req_len)

Creates a string constant.

Returns the selected part of the string as a Jalog Pro_TermData_String object. The returned object may be of any subclass of Pro_TermData_String. A new object may be created or an existing object may be returned.

If req_start is negative or req_len is too large, the result string is shorter than req_len.

Parameters:
base_string - the source string
req_start - requested start position
req_len - requested length
Returns:
Jalog object representing the selected substring.

Authors: Mikko Levanto, Ari Okkonen