File
Doc
Category
Size
Date
Package
Formatters.java
API Doc
Azureus 3.0.3.4
1962
Fri Jul 28 19:34:10 BST 2006
org.gudy.azureus2.plugins.utils
Formatters
public interface Formatters
author
parg
Fields Summary
Constructors Summary
Methods Summary
public
java.util.Map
bDecode
(
byte[]
data)
public
byte
[]
bEncode
(
java.util.Map
map)
public
byte
[]
base32Decode
(
java.lang.String
data)
public
java.lang.String
base32Encode
(
byte[]
data)
public
byte
[]
decodeBytesFromString
(
java.lang.String
str)
public
java.lang.String
encodeBytesToString
(
byte[]
bytes)
public
java.lang.String
formatByteArray
(
byte[]
data,
boolean
no_spaces)
public
java.lang.String
formatByteCountToKiBEtc
(
long
bytes)
public
java.lang.String
formatByteCountToKiBEtcPerSec
(
long
bytes)
public
java.lang.String
formatDate
(
long
millis)
public
java.lang.String
formatETAFromSeconds
(
long
seconds)
Format seconds remaining into an ETA value.
param
seconds
return
since
2.4.0.3
public
java.lang.String
formatPercentFromThousands
(
long
thousands)
public
java.lang.String
formatTimeFromSeconds
(
long
seconds)
public
java.util.Comparator
getAlphanumericComparator
(
boolean
ignore_case)
Java Code Source