Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.io

scala.io

packagescala.io

Members list

Type members

Classlikes

ANSI escape codes providing control over text formatting and color on supporting text terminals.

ANSI escape codes providing control over text formatting and color on supporting text terminals.

ANSI Style and Control Codes

This group of escape codes provides control over text styling. For example, to turn on reverse video with bold and then turn off all styling embed these codes,

import io.AnsiColor._object ColorDemo extends App { println(s"${REVERSED}${BOLD}Hello 1979!${RESET}")}

Foreground and Background Colors

Embedding ANSI color codes in text output will control the text foreground and background colors.

ForegroundBackground
BLACKBLACK_B
REDRED_B
GREENGREEN_B
YELLOWYELLOW_B
BLUEBLUE_B
MAGENTAMAGENTA_B
CYANCYAN_B
WHITEWHITE_B

Attributes

Companion
object
Source
AnsiColor.scala
Supertypes
classObject
traitMatchable
classAny
Known subtypes
objectAnsiColor
objectConsole
objectAnsiColor extendsAnsiColor

Attributes

Companion
trait
Source
AnsiColor.scala
Supertypes
traitAnsiColor
classObject
traitMatchable
classAny
Self type
classBufferedSource(inputStream:InputStream,bufferSize:Int)(implicitvalcodec:Codec) extendsSource

This object provides convenience methods to create an iterable representation of a source file.

This object provides convenience methods to create an iterable representation of a source file.

Attributes

Source
BufferedSource.scala
Supertypes
classCodec(valcharSet:Charset)

A class for character encoding/decoding preferences.

A class for character encoding/decoding preferences.

Attributes

Companion
object
Source
Codec.scala
Supertypes
classObject
traitMatchable
classAny

Attributes

Companion
class
Source
Codec.scala
Supertypes
Self type
Codec.type

Attributes

Source
Codec.scala
Supertypes
classObject
traitMatchable
classAny
Known subtypes
objectCodec
Self type
Codec.type
objectSource

This object provides convenience methods to create an iterable representation of a source file.

This object provides convenience methods to create an iterable representation of a source file.

Attributes

Companion
class
Source
Source.scala
Supertypes
classObject
traitMatchable
classAny
Self type
Source.type
abstractclassSource extendsIterator[Char],Closeable

An iterable representation of source data.

An iterable representation of source data. It may be reset with the optionalreset method.

Subclasses must supplythe underlying iterator.

Error handling may be customized by overriding thereport method.

Thecurrent input andposition, as well as thenext character methods delegate tothe positioner.

The default positioner encodes line and column numbers in the position passed toreport. This behavior can be changed by supplying acustom positioner.

Attributes

Companion
object
Source
Source.scala
Supertypes
Known subtypes
objectStdIn

Attributes

Source
StdIn.scala
Supertypes
classObject
traitMatchable
classAny
Self type
StdIn.type
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp