本文整理汇总了Java中org.gbif.dwc.terms.DwcTerm类的典型用法代码示例。如果您正苦于以下问题:Java DwcTerm类的具体用法?Java DwcTerm怎么用?Java DwcTerm使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DwcTerm类属于org.gbif.dwc.terms包,在下文中一共展示了DwcTerm类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: testWriteTaxonFile
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
/**
* @throws Exception
*/
@Test
public void testWriteTaxonFile() throws Exception {
Map<String, JobParameter> parameters = new HashMap<String, JobParameter>();
parameters.put("query", new JobParameter(""));
parameters.put("selected.facets", new JobParameter("taxon.family_ss=Araceae"));
parameters.put("download.taxon", new JobParameter(toParameter(DarwinCorePropertyMap.getConceptTerms(DwcTerm.Taxon))));
parameters.put("download.file", new JobParameter(UUID.randomUUID().toString() + ".txt"));
parameters.put("download.limit", new JobParameter(new Integer(Integer.MAX_VALUE).toString()));
parameters.put("download.fieldsTerminatedBy", new JobParameter("\t"));
parameters.put("download.fieldsEnclosedBy", new JobParameter("\""));
parameters.put("download.format", new JobParameter("taxon"));
JobParameters jobParameters = new JobParameters(parameters);
Job archiveCreatorJob = jobLocator.getJob("FlatFileCreation");
assertNotNull("flatFileCreatorJob must exist", archiveCreatorJob);
JobExecution jobExecution = jobLauncher.run(archiveCreatorJob,
jobParameters);
assertEquals("The Job should be sucessful", ExitStatus.COMPLETED, jobExecution.getExitStatus());
}
开发者ID:RBGKew,项目名称:eMonocot,代码行数:24,代码来源:FlatFileCreatorIntegrationTest.java
示例2: testWriteChecklistPdf
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testWriteChecklistPdf() throws Exception {
Map<String, JobParameter> parameters = new HashMap<String, JobParameter>();
parameters.put("query", new JobParameter(""));
parameters.put("selected.facets", new JobParameter("taxon.family_ss=Araceae"));
parameters.put("download.taxon", new JobParameter(toParameter(DarwinCorePropertyMap.getConceptTerms(DwcTerm.Taxon))));
parameters.put("download.file", new JobParameter(UUID.randomUUID().toString() + ".pdf"));
parameters.put("download.limit", new JobParameter(new Integer(Integer.MAX_VALUE).toString()));
parameters.put("download.fieldsTerminatedBy", new JobParameter("\t"));
parameters.put("download.fieldsEnclosedBy", new JobParameter("\""));
parameters.put("download.sort", new JobParameter("searchable.label_sort_asc"));
parameters.put("download.format", new JobParameter("hierarchicalChecklist"));
parameters.put("download.template.filepath", new JobParameter("org/emonocot/job/download/reports/name_report1.jrxml"));
JobParameters jobParameters = new JobParameters(parameters);
Job archiveCreatorJob = jobLocator.getJob("FlatFileCreation");
assertNotNull("flatFileCreator Job must exist", archiveCreatorJob);
JobExecution jobExecution = jobLauncher.run(archiveCreatorJob,
jobParameters);
assertEquals("The Job should be sucessful", ExitStatus.COMPLETED, jobExecution.getExitStatus());
}
开发者ID:RBGKew,项目名称:eMonocot,代码行数:23,代码来源:FlatFileCreatorIntegrationTest.java
示例3: getPropertyMap
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
public static Map<Term, String> getPropertyMap(Term conceptTerm) {
if(conceptTerm.equals(DwcTerm.Taxon)) {
return taxonTerms;
} else if(conceptTerm.equals(GbifTerm.Description)) {
return descriptionTerms;
} else if(conceptTerm.equals(GbifTerm.Distribution)) {
return distributionTerms;
} else if(conceptTerm.equals(GbifTerm.Identifier)) {
return identifierTerms;
} else if(conceptTerm.equals(DwcTerm.MeasurementOrFact)) {
return measurementOrFactTerms;
} else if(conceptTerm.equals(GbifTerm.VernacularName)) {
return vernacularNameTerms;
} else if(conceptTerm.equals(GbifTerm.Image)) {
return imageTerms;
} else if(conceptTerm.equals(GbifTerm.TypesAndSpecimen)) {
return typeAndSpecimenTerms;
} else if(conceptTerm.equals(GbifTerm.Reference)) {
return referenceTerms;
} else if(conceptTerm.equals(SkosTerm.Concept)) {
return skosTerms;
} else {
throw new IllegalArgumentException(conceptTerm.qualifiedName() + " is not a supported term");
}
}
开发者ID:RBGKew,项目名称:eMonocot,代码行数:26,代码来源:DarwinCorePropertyMap.java
示例4: testWriteTaxonFile
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
/**
* @throws Exception
*/
@Test
public void testWriteTaxonFile() throws Exception {
Map<String, JobParameter> parameters = new HashMap<String, JobParameter>();
parameters.put("query", new JobParameter(""));
parameters.put("selected.facets", new JobParameter("taxon.family_ss=Araceae"));
parameters.put("download.taxon", new JobParameter(toParameter(DarwinCorePropertyMap.getConceptTerms(DwcTerm.Taxon))));
parameters.put("download.file", new JobParameter(UUID.randomUUID().toString() + ".txt"));
parameters.put("download.limit", new JobParameter(new Integer(Integer.MAX_VALUE).toString()));
parameters.put("download.fieldsTerminatedBy", new JobParameter("\t"));
parameters.put("download.fieldsEnclosedBy", new JobParameter("\""));
parameters.put("download.format", new JobParameter("taxon"));
JobParameters jobParameters = new JobParameters(parameters);
Job archiveCreatorJob = jobLocator.getJob("FlatFileCreation");
assertNotNull("flatFileCreatorJob must exist", archiveCreatorJob);
JobExecution jobExecution = jobLauncher.run(archiveCreatorJob,
jobParameters);
assertEquals("The Job should be sucessful", ExitStatus.COMPLETED, jobExecution.getExitStatus());
}
开发者ID:RBGKew,项目名称:powop,代码行数:25,代码来源:FlatFileCreatorIntegrationTest.java
示例5: getPropertyMap
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
public static Map<Term, String> getPropertyMap(Term conceptTerm) {
if(conceptTerm.equals(DwcTerm.Taxon)) {
return taxonTerms;
} else if(conceptTerm.equals(GbifTerm.Description)) {
return descriptionTerms;
} else if(conceptTerm.equals(GbifTerm.Distribution)) {
return distributionTerms;
} else if(conceptTerm.equals(GbifTerm.Identifier)) {
return identifierTerms;
} else if(conceptTerm.equals(DwcTerm.MeasurementOrFact)) {
return measurementOrFactTerms;
} else if(conceptTerm.equals(GbifTerm.VernacularName)) {
return vernacularNameTerms;
} else if(conceptTerm.equals(ExtendedAcTerm.Multimedia)) {
return imageTerms;
} else if(conceptTerm.equals(GbifTerm.TypesAndSpecimen)) {
return typeAndSpecimenTerms;
} else if(conceptTerm.equals(GbifTerm.Reference)) {
return referenceTerms;
} else if(conceptTerm.equals(SkosTerm.Concept)) {
return skosTerms;
} else {
throw new IllegalArgumentException(conceptTerm.qualifiedName() + " is not a supported term");
}
}
开发者ID:RBGKew,项目名称:powop,代码行数:26,代码来源:DarwinCorePropertyMap.java
示例6: writeHeader
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
private void writeHeader(TabWriter writer, Term rowType, List<Term> columns) throws IOException {
int idx = 0;
String[] row = new String[columns.size() + 1];
Term idTerm;
if (DwcTerm.Taxon == coreRowType){
idTerm = DwcTerm.taxonID;
} else if (DwcTerm.Occurrence == coreRowType){
idTerm = DwcTerm.occurrenceID;
} else if (DwcTerm.Identification == coreRowType){
idTerm = DwcTerm.identificationID;
} else if (DwcTerm.Event == coreRowType){
idTerm = DwcTerm.eventID;
} else {
// default to generic dc identifier for id column
idTerm = DcTerm.identifier;
}
row[idx] = idTerm.simpleName();
for (Term term : columns) {
idx ++;
row[idx] = term.simpleName();
}
writer.write(row);
headersOut.add(rowType);
}
开发者ID:gbif,项目名称:dwca-io,代码行数:27,代码来源:DwcaWriter.java
示例7: testDetermineRecordIdentifier
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testDetermineRecordIdentifier() {
Optional<Term> id = InternalDwcFileFactory.determineRecordIdentifier(Arrays.asList(DwcTerm.decimalLatitude, DwcTerm.occurrenceID));
assertEquals(DwcTerm.occurrenceID, id.get());
id = InternalDwcFileFactory.determineRecordIdentifier(Arrays.asList(DwcTerm.taxonID, DwcTerm.scientificName));
assertEquals(DwcTerm.taxonID, id.get());
//eventId should be picked even if taxonID is there
id = InternalDwcFileFactory.determineRecordIdentifier(Arrays.asList(DwcTerm.eventID, DwcTerm.scientificName, DwcTerm.taxonID));
assertEquals(DwcTerm.taxonID, id.get());
id = InternalDwcFileFactory.determineRecordIdentifier(Arrays.asList(DwcTerm.decimalLongitude, DwcTerm.scientificName,
DcTerm.identifier));
assertEquals(DcTerm.identifier, id.get());
//eventId should be picked even if taxonID is there
id = InternalDwcFileFactory.determineRecordIdentifier(Arrays.asList(DwcTerm.decimalLongitude, DwcTerm.scientificName, DwcTerm.decimalLatitude));
assertFalse(id.isPresent());
}
开发者ID:gbif,项目名称:dwca-io,代码行数:21,代码来源:InternalDwcFileFactoryTest.java
示例8: testProperties
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testProperties() {
final Set<String> IGNORE = ImmutableSet.of(DwcTerm.GROUP_MEASUREMENTORFACT, DwcTerm.GROUP_RESOURCERELATIONSHIP);
DarwinCoreRecord dwc = new DarwinCoreRecord();
for (DwcTerm t : DwcTerm.values()) {
// only test non class terms
if (t.isClass()) {
continue;
}
if (IGNORE.contains(t.getGroup())) {
try {
dwc.getProperty(t);
fail("term " + t.qualifiedName() + " should not exist on DarwinCoreRecord");
} catch (IllegalArgumentException e) {
// expected
}
} else {
String val = new Date().toString();
dwc.setProperty(t, val);
assertEquals("missing term " + t.qualifiedName(), val, dwc.getProperty(t));
}
}
}
开发者ID:gbif,项目名称:dwca-io,代码行数:27,代码来源:DarwinCoreRecordTest.java
示例9: testDefaultValue
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testDefaultValue() {
final String DATASET = "ITIS";
ArchiveField id = new ArchiveField(0, DwcTerm.taxonID, null, null);
Set<ArchiveField> fields = new HashSet<ArchiveField>();
fields.add(new ArchiveField(1, DwcTerm.datasetName, DATASET, null));
RecordImpl rec = new RecordImpl(id, fields, DwcTerm.Taxon, true, true);
String[] row = {"5432", "IPNI"};
rec.setRow(row);
assertEquals(row[1], rec.value(DwcTerm.datasetName));
row = new String[] {"5432", null};
rec.setRow(row);
assertEquals(DATASET, rec.value(DwcTerm.datasetName));
row = new String[] {"5432", ""};
rec.setRow(row);
assertEquals(DATASET, rec.value(DwcTerm.datasetName));
}
开发者ID:gbif,项目名称:dwca-io,代码行数:21,代码来源:DarwinCoreRecordTest.java
示例10: testProperties
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testProperties() {
Set<String> groups = ImmutableSet.of(DwcTerm.GROUP_TAXON, DwcTerm.GROUP_RECORD);
DarwinCoreTaxon dwc = new DarwinCoreTaxon();
for (DwcTerm t : DwcTerm.values()) {
if (groups.contains(t.getGroup()) && !t.isClass()){
String val = new Date().toString();
dwc.setProperty(t, val);
try {
dwc.getProperty(t);
assertEquals(val, dwc.getProperty(t));
} catch (Exception e) {
System.err.println(e.getMessage());
}
}
}
}
开发者ID:gbif,项目名称:dwca-io,代码行数:18,代码来源:DarwinCoreTaxonTest.java
示例11: testHeaders3
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test(expected = IllegalStateException.class)
public void testHeaders3() throws Exception {
File dwcaDir = FileUtils.createTempDir();
dwcaDir.deleteOnExit();
DwcaWriter writer = new DwcaWriter(DwcTerm.Taxon, dwcaDir, true);
writer.newRecord("dummy1");
writer.addCoreColumn(DwcTerm.parentNameUsageID);
writer.addCoreColumn(DwcTerm.acceptedNameUsageID);
// define extension columns
Map<Term, String> eData = Maps.newHashMap();
eData.put(DwcTerm.locality, "locality1");
eData.put(DwcTerm.occurrenceStatus, "present");
writer.addExtensionRecord(GbifTerm.Distribution, eData);
eData.put(DwcTerm.establishmentMeans, "alien");
writer.addExtensionRecord(GbifTerm.Distribution, eData);
}
开发者ID:gbif,项目名称:dwca-io,代码行数:20,代码来源:DwcaWriterTest.java
示例12: testWriterUsingCoreIdTerm
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testWriterUsingCoreIdTerm() throws Exception {
File dwcaDir = FileUtils.createTempDir();
dwcaDir.deleteOnExit();
LOG.info("Test archive writer in {}", dwcaDir.getAbsolutePath());
DwcaWriter writer = new DwcaWriter(DwcTerm.Taxon, DwcTerm.taxonID, dwcaDir, true);
writer.newRecord("dummy1");
writer.addCoreColumn(DwcTerm.parentNameUsageID);
writer.addCoreColumn(DwcTerm.acceptedNameUsageID);
writer.close();
Archive arch = ArchiveFactory.openArchive(dwcaDir);
Iterator<Record> recIt = arch.getCore().iterator();
Record firstRecord = recIt.next();
assertEquals("dummy1", firstRecord.id());
assertEquals("dummy1", firstRecord.value(DwcTerm.taxonID));
}
开发者ID:gbif,项目名称:dwca-io,代码行数:20,代码来源:DwcaWriterTest.java
示例13: main
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
public static void main(String[] args) throws IOException, UnsupportedArchiveException {
// opens csv files with headers or dwc-a direcotries with a meta.xml descriptor
Archive arch = ArchiveFactory
.openArchive(new File("/Volumes/Scratch/ecat-data-col/checklists/beac2c55-d889-4358-a414-b1db79ba3536/dwc-a"));
// does scientific name exist?
if (!arch.getCore().hasTerm(DwcTerm.scientificName)) {
System.out.println("This application requires dwc-a with scientific names");
System.exit(1);
}
// loop over core darwin core records
Iterator<DarwinCoreRecord> iter = arch.iteratorDwc();
DarwinCoreRecord dwc;
while (iter.hasNext()) {
dwc = iter.next();
if (dwc.getScientificName().startsWith("Ambispora callosa")) {
System.out.println(dwc.getScientificName());
System.out.println(dwc.getScientificNameAuthorship());
System.out.println(dwc);
}
}
}
开发者ID:gbif,项目名称:dwca-io,代码行数:24,代码来源:ScanArchiveForScientificName.java
示例14: write
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void write() throws Exception {
File dwca = FileUtils.createTempDir();
Map<Term, Integer> mapping = ImmutableMap.of(
DwcTerm.taxonID, 0,
DwcTerm.scientificName, 1,
DwcTerm.taxonRank, 2);
try (DwcaStreamWriter dwcaWriter = new DwcaStreamWriter(dwca, DwcTerm.Taxon, DwcTerm.taxonID, true)){
Dataset d = new Dataset();
d.setTitle("Abies of the Alps");
d.setDescription("Abies of the Alps excl Switzerland.");
dwcaWriter.setMetadata(d);
dwcaWriter.write(DwcTerm.Taxon, 0, mapping, ImmutableList.<String[]>builder()
.add(new String[] { "tax-1", "Abies Mill.", "genus" })
.add(new String[] { "tax-2", "Abies alba Mill.", "species" })
.add(new String[] { "tax-3", "Piceae abies L.", "species" })
.add(new String[] { "tax-4", "Piceae abies subsp. helvetica L.", "subspecies" })
.build()
);
} finally {
org.apache.commons.io.FileUtils.deleteQuietly(dwca);
}
}
开发者ID:gbif,项目名称:dwca-io,代码行数:25,代码来源:DwcaStreamWriterTest.java
示例15: testConstituents
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testConstituents() throws Exception {
File dir = FileUtils.getClasspathFile("constituentsdwca");
Archive arch = new Archive();
arch.setLocation(dir);
arch.setMetadataLocation("eml.xml");
ArchiveField id = new ArchiveField(0, null, null, null);
ArchiveField datasetId = new ArchiveField(1, DwcTerm.datasetID, null, null);
ArchiveField sciname = new ArchiveField(2, DwcTerm.scientificName, null, null);
Map<Term, ArchiveField> fields = new HashMap<Term, ArchiveField>();
fields.put(DwcTerm.taxonomicStatus, sciname);
fields.put(DwcTerm.datasetID, datasetId);
Map<String, File> cons = arch.getConstituentMetadata();
assertEquals(6, cons.size());
for (Map.Entry<String, File> c : cons.entrySet()) {
final String name = c.getKey();
final File file = c.getValue();
assertEquals(name, file.getName().split("\\.")[0]);
}
}
开发者ID:gbif,项目名称:dwca-io,代码行数:24,代码来源:ArchiveTest.java
示例16: testCsv
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
/**
* Test dwca-reader bug 83
*
* @see <a href="http://code.google.com/p/darwincore/issues/detail?id=83">Issue 83</a>
*/
@Test
public void testCsv() throws UnsupportedArchiveException, IOException {
File csv = FileUtils.getClasspathFile("csv_always_quoted.csv");
// read archive from this tmp dir
Archive arch = ArchiveFactory.openArchive(csv);
boolean found = false;
for (Record rec : arch.getCore()) {
if ("ENNH0192".equals(rec.id())) {
found = true;
assertEquals("Martins Wood, Ightham", rec.value(DwcTerm.locality));
}
}
assertTrue(found);
}
开发者ID:gbif,项目名称:dwca-io,代码行数:21,代码来源:ArchiveFactoryTest.java
示例17: testCsvOptionalQuotes
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
/**
* Testing CSV with optional quotes
*/
@Test
public void testCsvOptionalQuotes() throws UnsupportedArchiveException, IOException {
File csv = FileUtils.getClasspathFile("csv_optional_quotes_excel2008CSV.csv");
Archive arch = ArchiveFactory.openArchive(csv);
String[] ids = {"1", "2", "3", "4"};
String[] scinames = {"Gadus morhua", "Abies alba", "Pomatoma saltatrix", "Yikes ofcourses"};
String[] localities =
{"This has a, comma", "I say this is only a \"quote\"", "What though, \"if you have a quote\" and a comma",
"What, if we have a \"quote, which has a comma, or 2\""};
int row = 0;
for (Record rec : arch.getCore()) {
assertEquals(ids[row], rec.id());
assertEquals(scinames[row], rec.value(DwcTerm.scientificName));
assertEquals(localities[row], rec.value(DwcTerm.locality));
row++;
}
}
开发者ID:gbif,项目名称:dwca-io,代码行数:21,代码来源:ArchiveFactoryTest.java
示例18: testIssue2158
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
/**
* Test IPT bug 2158
*
* @see <a href="http://code.google.com/p/gbif-providertoolkit/source/detail?r=2158">IPT revision 2158</a>
*/
@Test
public void testIssue2158() throws UnsupportedArchiveException, IOException {
// test zip with 1 extension file
File zip = FileUtils.getClasspathFile("archive-tax.zip");
File tmpDir = Files.createTempDirectory("dwca-io-test").toFile();
CompressionUtil.decompressFile(tmpDir, zip);
// read archive from this tmp dir
Archive arch = ArchiveFactory.openArchive(tmpDir);
assertNotNull(arch.getCore().getId());
assertEquals(1, arch.getExtensions().size());
boolean found = false;
for (Record rec : arch.getCore()) {
if ("113775".equals(rec.id())) {
found = true;
assertEquals(
"Ehrenberg, 1832, in Hemprich and Ehrenberg, Symbolæ Phisicæ Mammalia, 2: ftn. 1 (last page of fascicle headed \"Herpestes leucurus H. E.\").",
rec.value(DwcTerm.originalNameUsageID));
}
}
assertTrue(found);
}
开发者ID:gbif,项目名称:dwca-io,代码行数:28,代码来源:ArchiveFactoryTest.java
示例19: testIssue78
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
/**
* Identifier not set properly when reading single csv file
* the csv file attached is a utf16 little endian encoded file.
* This encoding is known to cause problems and not supported.
* If you look at the detected concept terms you will find that there is NO concept at all detected because of the
* wrong character encoding used (the factory tries it with utf8).
*
* @see <a href="http://code.google.com/p/darwincore/issues/detail?id=78">Issue 78</a>
*/
@Test
public void testIssue78() throws IOException, UnsupportedArchiveException {
// test folder with single text file in
Archive arch = ArchiveFactory.openArchive(FileUtils.getClasspathFile("MOBOTDarwinCore.csv"));
assertNotNull(arch.getCore());
assertNotNull(arch.getCore().getId());
assertEquals(DwcTerm.occurrenceID, arch.getCore().getId().getTerm());
assertNotNull(arch.getCore().getRowType());
assertEquals(DwcTerm.Occurrence, arch.getCore().getRowType());
assertTrue(arch.getCore().hasTerm(DwcTerm.occurrenceID));
assertTrue(arch.getCore().hasTerm(DwcTerm.scientificName));
assertEquals("UTF-8", arch.getCore().getEncoding());
int i = 0;
for (Record rec : arch.getCore()) {
i++;
assertEquals(rec.id(), "MO:Tropicos:" + i);
}
assertEquals(3, i);
}
开发者ID:gbif,项目名称:dwca-io,代码行数:30,代码来源:ArchiveFactoryTest.java
示例20: testOpenSmallArchiveWithEmptyLines
import org.gbif.dwc.terms.DwcTerm; //导入依赖的package包/类
@Test
public void testOpenSmallArchiveWithEmptyLines() throws IOException, UnsupportedArchiveException {
// test folder with single text file in
Archive arch = ArchiveFactory.openArchive(FileUtils.getClasspathFile("empty_line.tab"));
assertNotNull(arch.getCore());
assertNotNull(arch.getCore().getId());
assertTrue(arch.getCore().hasTerm(DwcTerm.scientificName));
assertEquals(0, arch.getExtensions().size());
Iterator<StarRecord> dwci = arch.iterator();
StarRecord star = dwci.next();
star = dwci.next();
star = dwci.next();
star = dwci.next();
star = dwci.next();
assertEquals("Delphinus delphis var. delphis", star.core().value(DwcTerm.scientificName));
int i = 0;
for (StarRecord rec : arch) {
i++;
if (i > 20) {
break;
}
}
assertEquals(6, i);
}
开发者ID:gbif,项目名称:dwca-io,代码行数:25,代码来源:ArchiveFactoryTest.java
注:本文中的org.gbif.dwc.terms.DwcTerm类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论