We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbdfe0 commit 7dfc735Copy full SHA for 7dfc735
itext/itext.io/itext/io/util/UrlUtil.cs
@@ -125,5 +125,15 @@ public static Uri ToNormalizedURI(FileInfo file) {
125
public static Uri GetFinalURL(Uri uri) {
126
return uri;
127
}
128
+
129
+ /// <summary>
130
+ /// This method gets uri string from a file.
131
+ /// </summary>
132
+ /// <param name="filename">a given filename</param>
133
+ /// <returns>a uri string</returns>
134
+ public static String GetFileUriString(String filename)
135
+ {
136
+ return new FileInfo(filename).FullName;
137
+ }
138
139
port-hash
@@ -1 +1 @@
1
-cee74eb0c5ee4e92187573eebd97746e27d9fe15
+9c63e0f84eb62cf50b768e3dc8be8d6cce5b5c09
0 commit comments