-
Notifications
You must be signed in to change notification settings - Fork 75
v0.2.54..v0.2.55 changeset IoUtils.h
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/IoUtils.h b/hoot-core/src/main/cpp/hoot/core/io/IoUtils.h
index 8f4d189..83eb6d7 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/IoUtils.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/IoUtils.h
@@ -134,6 +134,21 @@ public:
*/
static std::shared_ptr<ElementVisitorInputStream> getVisitorInputStream(
const QString& input, const QString& visitorClassName, const bool useDataSourceIds = false);
+
+ /**
+ * Determines if an input string is a URL by the hoot definition
+ *
+ * @param str string to examine
+ * @return true if the input is a hoot URL, false otherwise
+ */
+ static bool isUrl(const QString& str);
+
+ /**
+ * Writes an output directory
+ *
+ * @param dirName name of the directory to write
+ */
+ static void writeOutputDir(const QString& dirName);
};
}