rt/vm/src/main/java/org/apidesign/vm4brwsr/DirectlLibraries.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 08 Jun 2016 06:50:38 +0200
branchLibraries
changeset 1966 80851e48a68f
permissions -rw-r--r--
InstanceOf and cast for direct libraries
jaroslav@1966
     1
/**
jaroslav@1966
     2
 * Back 2 Browser Bytecode Translator
jaroslav@1966
     3
 * Copyright (C) 2012-2015 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@1966
     4
 *
jaroslav@1966
     5
 * This program is free software: you can redistribute it and/or modify
jaroslav@1966
     6
 * it under the terms of the GNU General Public License as published by
jaroslav@1966
     7
 * the Free Software Foundation, version 2 of the License.
jaroslav@1966
     8
 *
jaroslav@1966
     9
 * This program is distributed in the hope that it will be useful,
jaroslav@1966
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@1966
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@1966
    12
 * GNU General Public License for more details.
jaroslav@1966
    13
 *
jaroslav@1966
    14
 * You should have received a copy of the GNU General Public License
jaroslav@1966
    15
 * along with this program. Look for COPYING file in the top folder.
jaroslav@1966
    16
 * If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@1966
    17
 */
jaroslav@1966
    18
package org.apidesign.vm4brwsr;
jaroslav@1966
    19
jaroslav@1966
    20
final class DirectlLibraries {
jaroslav@1966
    21
jaroslav@1966
    22
    static boolean isScriptLibrary(String type) {
jaroslav@1966
    23
        return type.startsWith("net/java/html/lib/");
jaroslav@1966
    24
    }
jaroslav@1966
    25
jaroslav@1966
    26
}