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

me.niccolomattei.api.telegram.configuration.ConfigurationSection Maven / Gradle / Ivy

There is a newer version: 1.4_PRERELEASE-2
Show newest version
package me.niccolomattei.api.telegram.configuration;

import org.json.JSONObject;

import java.util.Collection;
import java.util.Set;

public interface ConfigurationSection {
	
	Object get(String key);
	
	 E get(Class expected, String key);
	
	String getString(String key);
	
	int getInt(String key);
	
	double getDouble(String key);
	
	long getLong(String key);
	
	short getShort(String key);
	
	float getFloat(String key);
	
	byte getByte(String key);
	
	Collection getCollection(String key);
	
	ConfigurationSection getSubSection(String key);

	void set(String key, Object value);
	
	boolean contains(String key);
	
	Set keySet();
	
	JSONObject toJsonObject();
	
}