// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) fieldsfirst 
// Source File Name:   HostNameRetriever.java

package lt.ktu;

import java.net.URL;
import javax.swing.JApplet;

public class HostNameRetriever
{

	static JApplet gApplet = null;
	static String gCodeBase = new String();

	public HostNameRetriever()
	{
	}

	public static JApplet getApplet()
	{
		return gApplet;
	}

	public static String getCodeBase()
	{
		if(getApplet() != null)
			gCodeBase = getApplet().getCodeBase().toString();
		return gCodeBase;
	}

	public static void setApplet(JApplet applet)
	{
		gApplet = applet;
	}

}
