Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**
     * Extract root url from Capi header
     * @param link
     * @return a String containing url
     */
    private static String extractRootUrl(String link) {
        return link.substring(link.indexOf('<') + 1, link.indexOf('>'));
    }
}