Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import java.net.URI;

import android.net.Uri;

public class Main {
    public static String getFSMSessionFromUri(Uri fsmURI) {
        String result = null;

        if (fsmURI != null) {
            result = fsmURI.getAuthority();
        }
        return result;

    }

    public static String getFSMSessionFromUri(URI fsmURI) {
        String result = null;

        if (fsmURI != null) {
            result = fsmURI.getAuthority();
        }
        return result;
    }
}