Jpeg

org.mbari.beholder.Jpeg
See theJpeg companion class
object Jpeg

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Jpeg.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fake(elapsedTime: Duration): Jpeg

Constructs a fake/mock jpeg that is useful for searchies

Constructs a fake/mock jpeg that is useful for searchies

Attributes

def fake(url: URL, elapsedTime: Duration): Jpeg
def fromPath(root: Path, file: Path): Option[Jpeg]

Generates Jpeg info

Generates Jpeg info

Value parameters

file

the jpeg file (must be under the root fo the cache directory)

root

The root directory of the cache

Attributes

Returns

A jpeg info. None the file is not a jpeg or if it's not under the cache directory

def toPath(root: Path, url: URL, elapsedTime: Duration): Jpeg

Generates jpeg info

Generates jpeg info

Value parameters

elapsedTime

The elapsed tie into the video

root

The root directory of the cache

url

The video url

Attributes

Returns

The jpeg info