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
CoreException
public static boolean hasBowerJson(IFolder folder) throws CoreException
CoreException
public static boolean isBowerJson(IResource resource)
public static java.lang.String generateJson(BowerJson bowerJson)
public static IFile getBowerrc(IProject project) throws CoreException
CoreException
public static IPath getBowerWorkingDir(IProject project, java.lang.String... ignores) throws CoreException
CoreException
public static java.lang.String getDirectoryName(IFile bowerrc) throws java.io.UnsupportedEncodingException, CoreException
CoreException
java.io.UnsupportedEncodingException
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.