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

org.jbibtex.KeyValue Maven / Gradle / Ivy

There is a newer version: 1.0.20
Show newest version
/*
 * Copyright (c) 2012 University of Tartu
 */
package org.jbibtex;

public class KeyValue extends Value {

	private String string = null;


	KeyValue(){
	}

	public KeyValue(String string){
		setString(string);
	}

	public Key toKey(){
		Key key = new Key(getString());

		return key;
	}

	@Override
	protected String format(){
		return getString();
	}

	@Override
	public String toUserString(){
		return getString();
	}

	public String getString(){
		return this.string;
	}

	private void setString(String string){
		this.string = string;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy