Package com.ranull.graves.util
Class YAMLUtil
java.lang.Object
com.ranull.graves.util.YAMLUtil
Utility class for handling YAML file operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isValidYAML
(File file) Checks if a given file is a valid YAML file.
-
Constructor Details
-
YAMLUtil
public YAMLUtil()
-
-
Method Details
-
isValidYAML
Checks if a given file is a valid YAML file.- Parameters:
file
- The file to check.- Returns:
- True if the file is a valid YAML file (i.e., does not start with a dot and ends with ".yml"), otherwise false.
-