ParseableFile

com.phasmidsoftware.tableparser.core.parse.Parseable.ParseableFile
See theParseableFile companion trait
object ParseableFile extends ParseableFile

Attributes

Companion
trait
Graph
Supertypes
trait Parseable[File]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def parse(s: String, optModifier: Option[String]): Try[File]

Parses a given string into a File object while optionally considering a modifier.

Parses a given string into a File object while optionally considering a modifier.

The method attempts to create a File from the provided string s. If parsing fails due to an invalid input, a failure is returned with an appropriate error message.

Value parameters

optModifier

an optional string modifier which may affect the parsing logic (the modifier is currently unused in the implementation but reserved for potential future use).

s

the input string to be parsed into a File.

Attributes

Returns

a Try[File] which will contain the parsed File if successful, or a Failure with an error message if parsing fails.

Inherited from:
ParseableFile