Merge pull request #306 from spring-projects/symbol-dependencies
Track symbol dependencies ...
This commit is contained in:
@@ -65,4 +65,20 @@ public class UriUtil {
|
||||
}
|
||||
}
|
||||
|
||||
public static File toFile(String docURI) {
|
||||
try {
|
||||
return new File(new URI(docURI));
|
||||
} catch (Exception e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static String toFileString(String docURI) {
|
||||
try {
|
||||
return new File(new URI(docURI)).getAbsolutePath();
|
||||
} catch (Exception e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user