Project

General

Profile

« Previous | Next » 

Revision 1036

Added by Jing Tao over 22 years ago

Making parser to handle datafile attribute in parsing updated doclist.

View differences:

src/edu/ucsb/nceas/metacat/ReplMessageHandler.java
52 52
  private Vector indivDelete = new Vector();
53 53
  private Vector deletes = new Vector();
54 54
  private String server;
55
  private String dataFile;
55 56
  private boolean update = false;
56 57
  private boolean delete = false;
57 58
  String currentTag = new String();
......
137 138
    {
138 139
      server = new String(ch, start, length);
139 140
    }
141
    
142
    //Adding data file attribute into indivUpdate vector
143
    if (currentTag.equals("datafile"))
144
    {
145
      dataFile = new String(ch, start, length);
146
      indivUpdate.add(dataFile);
147
    }
140 148
  }
141 149
  
142 150
  public Vector getUpdatesVect()

Also available in: Unified diff