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

cat.inspiracio.url.InitialURLUtils Maven / Gradle / Ivy

There is a newer version: 0.0.1
Show newest version
/*
Copyright 2015 Alexander Bunkenburg 

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package cat.inspiracio.url;

import java.io.Serializable;

import cat.inspiracio.lang.NotImplementedException;

/** Initial implementation of URLUtils.
 * All methods throw NotImplementedException. 
 * 
 * Useful for extending it and making partial implementations. */
public class InitialURLUtils implements URLUtils, Serializable{
	private static final long serialVersionUID = -6971225855275869135L;

	protected InitialURLUtils(){}
	
	@Override public String getHref(){throw new NotImplementedException();}
	@Override public void setHref(String href){throw new NotImplementedException();}
	@Override public String getOrigin(){throw new NotImplementedException();}
	@Override public String getProtocol(){throw new NotImplementedException();}
	@Override public void setProtocol(String protocol){throw new NotImplementedException();}
	@Override public String getUsername(){throw new NotImplementedException();}
	@Override public void setUsername(String u){throw new NotImplementedException();}
	@Override public String getPassword(){throw new NotImplementedException();}
	@Override public void setPassword(String p){throw new NotImplementedException();}
	@Override public String getHost(){throw new NotImplementedException();}
	@Override public void setHost(String host){throw new NotImplementedException();}
	@Override public String getHostname(){throw new NotImplementedException();}
	@Override public void setHostname(String name){throw new NotImplementedException();}
    @Override public int port(){throw new NotImplementedException();}
    @Override public String getPort(){throw new NotImplementedException();}
    @Override public void setPort(int port){throw new NotImplementedException();}
    @Override public void setPort(String port){throw new NotImplementedException();}
	@Override public String getPathname(){throw new NotImplementedException();}
	@Override public void setPathname(String path){throw new NotImplementedException();}
	@Override public String getSearch(){throw new NotImplementedException();}
	@Override public void setSearch(String search){throw new NotImplementedException();}
	@Override public URLSearchParams getSearchParams(){throw new NotImplementedException();}
	@Override public void setSearchParams(URLSearchParams params){throw new NotImplementedException();}
	@Override public String getHash(){throw new NotImplementedException();}
	@Override public void setHash(String hash){throw new NotImplementedException();}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy