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

java.net.URLEncoder Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package java.net;

import java.io.UnsupportedEncodingException;

public class URLEncoder {
	private URLEncoder() {
	}

	@Deprecated
	public static String encode(String s) {
		try {
			return encode(s, "UTF-8");
		} catch (UnsupportedEncodingException e) {
			throw new RuntimeException(e);
		}
	}

	native public static String encode(String s, String enc) throws UnsupportedEncodingException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy