Helper to remove colons (if any exist) from paths to sanitize them for consumption by hdfs. @param origPath original path name @return String sanitized path with anything prior to : removed @throws IOException
(String origPath)
| 299 | * @throws IOException |
| 300 | */ |
| 301 | static public String removeColon(String origPath) |
| 302 | { |
| 303 | return origPath.replaceAll(":", ""); |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * Helper to convert \r\n to \n for cross-platform string |
no outgoing calls
no test coverage detected