All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.mallat.uasparser.fileparser.Section Maven / Gradle / Ivy

There is a newer version: 2.0-beta-7
Show newest version
package cz.mallat.uasparser.fileparser;

import java.util.ArrayList;
import java.util.List;

/**
 * JavaBean that holds a section from a parsed file. A section is a row in square brackets, e.g. [main]
 * 
 * @author oli
 */
public class Section {

	private String name;
	private List entries;

	public Section(String sectionName) {
		this.name = sectionName;
		this.entries = new ArrayList();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List getEntries() {
		return entries;
	}

	public void setEntries(List entries) {
		this.entries = entries;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy