public class URLSplitter extends Object
String url and saves them into single Strings.
| Constructor and Description |
|---|
URLSplitter(String url)
Creates a new URLSplitter object from the url, detects the prot_prefix, server, path and object_name and saves
these informations into new Strings.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getObject_name()
Getter for
object_name. |
String |
getPath()
Getter for
path. |
String |
getProt_prefix()
Getter for
prot_prefix. |
String |
getServer()
Getter for
server. |
static void |
main(String[] args)
main program.
|
String |
toString()
returns a
String, which has the following formProt: prot_prefixServer: serverPath: pathObjekt: object_name |
public URLSplitter(String url)
url - given urlpublic String getProt_prefix()
prot_prefix.prot_prefixpublic String getServer()
server.serverpublic String getPath()
path.pathpublic String getObject_name()
object_name.object_namepublic String toString()
String, which has the following formprot_prefixserverpathobject_namepublic static void main(String[] args)
args - argsCopyright © 2012–2026 cismet GmbH. All rights reserved.