public final class BowerUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
generateJson(BowerJson bowerJson) |
static IFile |
getBowerrc(IProject project)
.bowerrc is an optional file for bower configuration.
|
static IPath |
getBowerWorkingDir(IProject project,
java.lang.String... ignores) |
static java.lang.String |
getDirectoryName(IFile bowerrc) |
static boolean |
hasBowerJson(IFolder folder) |
static boolean |
isBowerJson(IResource resource) |
static boolean |
isBowerJsonExist(IProject project) |
public static boolean isBowerJsonExist(IProject project)
throws CoreException
CoreExceptionpublic static boolean hasBowerJson(IFolder folder)
throws CoreException
CoreExceptionpublic static boolean isBowerJson(IResource resource)
public static java.lang.String generateJson(BowerJson bowerJson)
public static IFile getBowerrc(IProject project)
throws CoreException
CoreExceptionpublic static IPath getBowerWorkingDir(IProject project,
java.lang.String... ignores)
throws CoreException
CoreExceptionpublic static java.lang.String getDirectoryName(IFile bowerrc)
throws java.io.UnsupportedEncodingException,
CoreException
CoreExceptionjava.io.UnsupportedEncodingExceptionCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.