Project

General

Profile

« Previous | Next » 

Revision 953

Added by Jing Tao almost 23 years ago

Access document was added to exported data package too.

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
1300 1300
            //if the docImpls is metadata 
1301 1301
          if ((docImpls.getDoctype()).compareTo("BIN")!=0)  
1302 1302
          {
1303
            //eml-access file wouldn't put into the zip output stream
1304
            //if the docImpls is not a eml-access file 
1305
            if ((util.getOption("accessdoctype")).
1306
              lastIndexOf(docImpls.getDoctype())==-1)
1307
            { 
1308
            
1309 1303
              //add metadata into zip output stream
1310 1304
              addDocToZipOutputStream(docImpls, zOut, rootName);
1311 1305
              //add the documentImpl into the vetor which will be used in html
1312 1306
              htmlDocumentImplList.add(docImpls);
1313
            }//if
1307
           
1314 1308
          }//if
1315
          //eml-access file wouldn't put into the zip output stream
1309
          
1316 1310
          else 
1317 1311
          {
1318 1312
           

Also available in: Unified diff