com.atlassian.bamboo.util
Class BambooFilenameUtils

java.lang.Object
  extended by com.atlassian.bamboo.util.BambooFilenameUtils

public class BambooFilenameUtils
extends java.lang.Object

Author:
Krystian Brazulewicz

Method Summary
static boolean doesPathFollowToParentDirectory(java.lang.String path)
          Test if path "escapes" current directory
static java.lang.String getScriptSuffix()
           
static boolean isPathAbsolute(java.lang.String path)
          Test if path denotes absolute path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isPathAbsolute

public static boolean isPathAbsolute(java.lang.String path)
Test if path denotes absolute path

Parameters:
path - path to be verified
Returns:
true if path is absolute

doesPathFollowToParentDirectory

public static boolean doesPathFollowToParentDirectory(java.lang.String path)
Test if path "escapes" current directory

Parameters:
path - path to be verified
Returns:
true if path "escapes" current directory

getScriptSuffix

public static java.lang.String getScriptSuffix()
Returns:
script extension used on the current platform


Copyright © 2012 Atlassian. All Rights Reserved.