public Object getContent() throws IOException {  String type = getContentType();
public Object getContent() throws IOException { if (!connected) connect();
	public Object getContent() throws IOException {		//  connect();		String type = getContentType();		// First try the factory		ContentHandler ch = null;		if (factory != null)			ch = factory.createContentHandler(type);		if (ch != null)			return (ch.getContent(this));		// Then try our default class		try {			Class cls = Class.forName("gnu.java.net.content." + type.replace('/', '.'));			Object obj = cls.newInstance();			if (!(obj instanceof ContentHandler))				throw new UnknownServiceException(type);			ch = (ContentHandler) obj;			return (ch.getContent(this));		} catch (ClassNotFoundException e) {			// Do nothing		} catch (InstantiationException e) {			// Do nothing		} catch (IllegalAccessException e) {			// Do nothing		}		throw new UnknownServiceException(type);	}