Menu

#9 data class for parsing the html files using java regexp

open
nobody
None
5
2008-09-02
2008-09-02
Anonymous
No

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import javax.swing.tree.DefaultMutableTreeNode;

/**
*
* @author rajeev kumar
* <b> it is data class which is only used for inherittance</b>
*
*
*/
public class DataClass
{
public long timer;
Pattern pattern=null;
Pattern patternextractedvalue=null;
String patternString=null;
Matcher matcher1=null;
Matcher matcherextractedvalue = null;
Matcher matcherendultag = null;
Pattern pattern1=null;
String patternString1=null;
Matcher matcher2=null;
Pattern pattern2=null;
String patternString2=null;
Matcher matcher3=null;
Pattern pattern3=null;
String patternString3=null;
Matcher matcher=null;
boolean found ;
long start;
long end;
int startindex=0;
int endindex=0;
int lastmatchend;
String beginandspace=null;
String digit=null ;
String compulsoryspace=null ;
String hexdigit=null ;
String variablepattern=null;
String delimeterendpattern=null;
String textdelimeter=null;
String patternfound=null;
String patternfound1=null;
String inbetween=null;
String startultag = null;
String endultag = null;
String extractvalue=null;
String extractedvalue=null;
String tobeadded;
static DefaultMutableTreeNode root;
DefaultMutableTreeNode node = new DefaultMutableTreeNode();
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.