jtopenlite.com.ibm.jtopenlite.command.program.object.OpenListOfObjectsFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400 Show documentation
Show all versions of jt400 Show documentation
The Open Source version of the IBM Toolbox for Java
///////////////////////////////////////////////////////////////////////////////
//
// JTOpenLite
//
// Filename: OpenListOfObjectsFormat.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 2011-2012 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.jtopenlite.command.program.object;
import com.ibm.jtopenlite.*;
import com.ibm.jtopenlite.command.program.openlist.*;
public class OpenListOfObjectsFormat implements ListEntryFormat
{
private final char[] charBuffer_ = new char[10];
public OpenListOfObjectsFormat()
{
}
private final byte[] lastLibraryBytes_ = new byte[10];
private String lastLibrary_ = " ";
private final byte[] lastTypeBytes_ = new byte[10];
private String lastType_ = " ";
private static boolean matches(final byte[] data, final int offset, final byte[] data2)
{
for (int i=0; i