Packages

  • package root
    Definition Classes
    root
  • package grizzled

    The Grizzled Scala Library contains a variety of miscellaneous, general purpose utility classes and objects.

    The Grizzled Scala Library contains a variety of miscellaneous, general purpose utility classes and objects.

    The home page for the Grizzled Scala Library is http://software.clapper.org/grizzled-scala/. Please see that page for complete details, including installation instructions.

    Definition Classes
    root
  • package ScalaCompat

    Compatibility definitions for Scala 2.13+ vs.

    Compatibility definitions for Scala 2.13+ vs. Scala 2.12 and lesser. This object is conceptually similar to scala.collection.compat. For Scala 2.12 and earlier, it provides a type alias and compatibility functions for LazyList. For Scala 2.13 and greater, it's empty. Thus, all code can use LazyList throughout.

    Definition Classes
    grizzled
  • package collection

    Some collection-related helpers.

    Some collection-related helpers.

    Definition Classes
    grizzled
  • package config

    Classes and objects to aid in the parsing of INI-style configuration files.

    Classes and objects to aid in the parsing of INI-style configuration files. This package is similar, in concept, to the Python ConfigParser module (though its implementation and capabilities differ quite a bit).

    Definition Classes
    grizzled
  • package datetime
    Definition Classes
    grizzled
  • package file

    File-related classes and utilities.

    File-related classes and utilities. This package is distinguished from the grizzled.io package in that this package operates on files and paths, not on open streams or sources.

    Definition Classes
    grizzled
    See also

    grizzled.io

  • package io

    I/O-related classes and utilities.

    I/O-related classes and utilities. This package is distinguished from the grizzled.file package in that this package operates on already-open Java InputStream, OutputStream, Reader and Writer objects, and on Scala Source objects.

    See grizzled.file

    Definition Classes
    grizzled
  • package math

    Miscellaneous math and statistics utilities.

    Miscellaneous math and statistics utilities.

    Definition Classes
    grizzled
  • package net

    Network-related utility methods and classes.

    Network-related utility methods and classes.

    Definition Classes
    grizzled
  • package parsing

    Methods and classes useful for parsing various things.

    Methods and classes useful for parsing various things.

    Definition Classes
    grizzled
  • Pushback
  • SafeIterator
  • StringToken
  • package random
    Definition Classes
    grizzled
  • package security
    Definition Classes
    grizzled
  • package string

    String- and text-related classes.

    String- and text-related classes.

    Definition Classes
    grizzled
  • package util

    Miscellaneous utility functions and methods not otherwise categorized.

    Miscellaneous utility functions and methods not otherwise categorized.

    Definition Classes
    grizzled
  • package zip

    The grizzled.zip package contains classes and functions to make it easier to operate on zip and jar files.

    The grizzled.zip package contains classes and functions to make it easier to operate on zip and jar files.

    Definition Classes
    grizzled
p

grizzled

parsing

package parsing

Methods and classes useful for parsing various things.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. parsing
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Pushback[T] extends SafeIterator[T]

    The Pushback trait can be mixed into an SafeIterator to permit arbitrary pushback.

    The Pushback trait can be mixed into an SafeIterator to permit arbitrary pushback.

    NOTE: This trait it not thread-safe.

  2. class SafeIterator[+T] extends AnyRef

    SafeIterator places a simple stream on top of an iterator, returning Option-wrapped instances from the underlying iterator.

    SafeIterator places a simple stream on top of an iterator, returning Option-wrapped instances from the underlying iterator. When the stream is exhausted, the Iterator stream returns None. Differences from a plain Iterator include:

    - An SafeIterator will not throw an exception if you try to read past the end of it. Instead, it will just keep returning None.

    Example of use with a string:

    import grizzled.parsing.SafeIterator
    
    val s = ...
    val istream = new SafeIterator[Char](s.elements)
    Annotations
    @SuppressWarnings()
  3. final case class StringToken(string: String, start: Int) extends Product with Serializable

    A simple string token class, consisting of:

    A simple string token class, consisting of:

    - a string token - the starting position of the token in the original string from which the token was parsed

    This class is used by the toTokens() method in grizzled.string.Implicits.String.GrizzledString.

    string

    the string token

    start

    the start of the token within the original string

Value Members

  1. object SafeIterator

    Companion object for SafeIterator.

Inherited from AnyRef

Inherited from Any

Ungrouped