Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(NDefContent) - Method in class com.rvi.application.creator.NDefMessageCreator
-
Appends a non-null typed content value, preserving insertion order.
- AES - Enum constant in enum class com.rvi.domain.WifiEncryption
- authentication() - Method in record class com.rvi.domain.NDefWifi
-
Returns the value of the
authenticationrecord component. - authentication(WifiAuthentication) - Method in class com.rvi.application.creator.NDefWifiCreator
-
Sets authentication; defaults to WPA2_PERSONAL.
B
- build() - Method in class com.rvi.application.creator.NDefContactCreator
-
Validates collected values and returns a new immutable value.
- build() - Method in class com.rvi.application.creator.NDefMessageCreator
-
Validates collected values and returns a new immutable value.
- build() - Method in class com.rvi.application.creator.NDefTextCreator
-
Validates collected values and returns a new immutable value.
- build() - Method in class com.rvi.application.creator.NDefUriCreator
-
Validates collected values and returns a new immutable value.
- build() - Method in class com.rvi.application.creator.NDefWifiCreator
-
Validates collected values and returns a new immutable value.
C
- CardCapacityException - Exception Class in com.rvi.application.exception
- CardCapacityException(int, int) - Constructor for exception class com.rvi.application.exception.CardCapacityException
- close() - Method in class com.rvi.application.ReaderMonitor
-
Requests monitoring to stop and shuts down its executor; an in-flight callback may finish.
- close() - Method in interface com.rvi.service.IReaderService
-
Releases the card connection, including when leaving a try-with-resources block.
- close() - Method in class com.rvi.service.ReaderService
- com.rvi - package com.rvi
- com.rvi.application - package com.rvi.application
- com.rvi.application.creator - package com.rvi.application.creator
- com.rvi.application.exception - package com.rvi.application.exception
- com.rvi.domain - package com.rvi.domain
- com.rvi.domain.exception - package com.rvi.domain.exception
- com.rvi.service - package com.rvi.service
- connect() - Method in interface com.rvi.service.IReaderService
-
Connects immediately.
- connect() - Method in class com.rvi.service.ReaderService
- create() - Static method in class com.rvi.service.ReaderService
-
Creates a disconnected service selecting the first available reader at connect time.
- create(String) - Static method in class com.rvi.service.ReaderService
-
Creates a disconnected service selecting the exact, nonblank PC/SC reader name at connect time.
- createForTerminal(CardTerminal) - Static method in class com.rvi.service.ReaderService
-
Creates a disconnected service for the supplied monitor terminal.
D
- data() - Method in record class com.rvi.domain.NDefMessage
-
Returns the value of the
datarecord component. - decode(byte[]) - Method in class com.rvi.application.TlvDecoder
-
Unwraps an NDEF TLV starting at offset zero; rejects missing terminators and invalid content.
- decode(NDefMessage) - Method in class com.rvi.application.NDefDecoder
-
Returns immutable typed content in record order. vCards support SocialCard's name, email, text phone and website fields; unsupported fields are rejected.
- decodeURIs(NDefMessage) - Method in class com.rvi.application.NDefDecoder
-
Returns only URI strings in record order; other supported records are skipped.
- disconnect() - Method in interface com.rvi.service.IReaderService
-
Releases the owned card connection.
- disconnect() - Method in class com.rvi.service.ReaderService
E
- email() - Method in record class com.rvi.domain.NDefContact
-
Returns the value of the
emailrecord component. - email(String) - Method in class com.rvi.application.creator.NDefContactCreator
-
Sets an optional contact email; null becomes empty.
- encode(NDefMessage) - Method in class com.rvi.application.TlvEncoder
-
Wraps validated NDEF bytes in an NDEF TLV with a terminator, using extended length when needed.
- encode(List) - Method in class com.rvi.application.NDefEncoder
-
Encodes a nonempty list of typed content in order, choosing short or long record lengths automatically.
- encodedLength(byte[]) - Method in class com.rvi.application.TlvDecoder
-
Returns the TLV size including header and terminator from a complete header; the body need not be present.
- encodeURI(String) - Method in class com.rvi.application.NDefEncoder
-
Encodes one absolute URI without hardware; accepts the same schemes as NDefUri.
- encodeURI(String) - Method in interface com.rvi.service.IReaderService
-
Encodes one absolute URI, including HTTP, HTTPS, tel and mailto; no hardware needed.
- encodeURI(String) - Method in class com.rvi.service.ReaderService
- encodeURIs(List) - Method in class com.rvi.application.NDefEncoder
-
Encodes a nonempty URI list in order.
- encodeURIs(List) - Method in interface com.rvi.service.IReaderService
-
Encodes a nonempty list of absolute URIs in order; no hardware needed.
- encodeURIs(List) - Method in class com.rvi.service.ReaderService
- encryption() - Method in record class com.rvi.domain.NDefWifi
-
Returns the value of the
encryptionrecord component. - encryption(WifiEncryption) - Method in class com.rvi.application.creator.NDefWifiCreator
-
Sets encryption; defaults to AES.
- equals(Object) - Method in record class com.rvi.domain.NDefContact
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.rvi.domain.NDefMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.rvi.domain.NDefText
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.rvi.domain.NDefUri
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.rvi.domain.NDefWifi
-
Indicates whether some other object is "equal to" this one.
F
- firstName() - Method in record class com.rvi.domain.NDefContact
-
Returns the value of the
firstNamerecord component. - firstName(String) - Method in class com.rvi.application.creator.NDefContactCreator
-
Sets the optional first name; at least one name is required at build time.
H
- hashCode() - Method in record class com.rvi.domain.NDefContact
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.rvi.domain.NDefMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.rvi.domain.NDefText
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.rvi.domain.NDefUri
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.rvi.domain.NDefWifi
-
Returns a hash code value for this object.
I
- IReaderListener - Interface in com.rvi.application
-
Monitor callbacks execute on a background thread.
- IReaderRepository - Interface in com.rvi.application
- IReaderService - Interface in com.rvi.service
-
Card operations on one connection.
L
- language() - Method in record class com.rvi.domain.NDefText
-
Returns the value of the
languagerecord component. - language(String) - Method in class com.rvi.application.creator.NDefTextCreator
-
Sets an ASCII BCP 47 language tag of at most 63 bytes; defaults to en.
- lastName() - Method in record class com.rvi.domain.NDefContact
-
Returns the value of the
lastNamerecord component. - lastName(String) - Method in class com.rvi.application.creator.NDefContactCreator
-
Sets the optional last name; at least one name is required at build time.
- listReaders() - Static method in class com.rvi.service.ReaderService
-
Lists exact PC/SC reader names without connecting to a card.
M
- main(String[]) - Static method in class com.rvi.Main
- Main - Class in com.rvi
- Main() - Constructor for class com.rvi.Main
N
- NDefContact - Record Class in com.rvi.domain
- NDefContact(String, String, String, String, String) - Constructor for record class com.rvi.domain.NDefContact
-
Creates an instance of a
NDefContactrecord class. - NDefContactCreator - Class in com.rvi.application.creator
- NDefContactCreator() - Constructor for class com.rvi.application.creator.NDefContactCreator
- NDefContent - Interface in com.rvi.domain
- NDefDecoder - Class in com.rvi.application
-
Decodes supported NDEF records without requiring a reader or a TLV wrapper.
- NDefDecoder() - Constructor for class com.rvi.application.NDefDecoder
- NDefEncoder - Class in com.rvi.application
- NDefEncoder() - Constructor for class com.rvi.application.NDefEncoder
- NDefEncodingException - Exception Class in com.rvi.application.exception
- NDefEncodingException(String) - Constructor for exception class com.rvi.application.exception.NDefEncodingException
- NDefEncodingException(String, Throwable) - Constructor for exception class com.rvi.application.exception.NDefEncodingException
- NDefMessage - Record Class in com.rvi.domain
- NDefMessage(byte[]) - Constructor for record class com.rvi.domain.NDefMessage
-
Creates an instance of a
NDefMessagerecord class. - NDefMessageCreator - Class in com.rvi.application.creator
- NDefMessageCreator() - Constructor for class com.rvi.application.creator.NDefMessageCreator
- NDefMessageException - Exception Class in com.rvi.domain.exception
- NDefMessageException(String) - Constructor for exception class com.rvi.domain.exception.NDefMessageException
- NDefText - Record Class in com.rvi.domain
- NDefText(String, String) - Constructor for record class com.rvi.domain.NDefText
-
Creates an instance of a
NDefTextrecord class. - NDefTextCreator - Class in com.rvi.application.creator
- NDefTextCreator() - Constructor for class com.rvi.application.creator.NDefTextCreator
- NDefUri - Record Class in com.rvi.domain
- NDefUri(String) - Constructor for record class com.rvi.domain.NDefUri
-
Creates an instance of a
NDefUrirecord class. - NDefUriCreator - Class in com.rvi.application.creator
- NDefUriCreator() - Constructor for class com.rvi.application.creator.NDefUriCreator
- NDefValueException - Exception Class in com.rvi.domain.exception
- NDefValueException(String) - Constructor for exception class com.rvi.domain.exception.NDefValueException
- NDefValueException(String, Throwable) - Constructor for exception class com.rvi.domain.exception.NDefValueException
- NDefWifi - Record Class in com.rvi.domain
- NDefWifi(String, WifiAuthentication, WifiEncryption, String) - Constructor for record class com.rvi.domain.NDefWifi
-
Creates an instance of a
NDefWifirecord class. - NDefWifiCreator - Class in com.rvi.application.creator
- NDefWifiCreator() - Constructor for class com.rvi.application.creator.NDefWifiCreator
- NONE - Enum constant in enum class com.rvi.domain.WifiEncryption
O
- onCardInserted(CardTerminal) - Method in interface com.rvi.application.IReaderListener
-
Called when a card is detected; the monitor itself does not connect to it.
- onCardInserted(CardTerminal) - Method in class com.rvi.application.ReaderListener
- onCardRemoved(CardTerminal) - Method in interface com.rvi.application.IReaderListener
-
Called after the previously detected card is removed.
- onCardRemoved(CardTerminal) - Method in class com.rvi.application.ReaderListener
- onError(Exception) - Method in interface com.rvi.application.IReaderListener
-
Reports a polling or callback failure while active; monitoring then stops.
- onError(Exception) - Method in class com.rvi.application.ReaderListener
- OPEN - Enum constant in enum class com.rvi.domain.WifiAuthentication
P
- password() - Method in record class com.rvi.domain.NDefWifi
-
Returns the value of the
passwordrecord component. - password(String) - Method in class com.rvi.application.creator.NDefWifiCreator
-
Sets an ASCII WPA2 passphrase (8-63 characters) or 64 hex digits.
- phone() - Method in record class com.rvi.domain.NDefContact
-
Returns the value of the
phonerecord component. - phone(String) - Method in class com.rvi.application.creator.NDefContactCreator
-
Sets an optional phone number; null becomes empty.
R
- read() - Method in interface com.rvi.application.IReaderRepository
- read() - Method in class com.rvi.application.ReaderRepository
- read() - Method in interface com.rvi.service.IReaderService
-
Reads validated NDEF bytes.
- read() - Method in class com.rvi.service.ReaderService
- readContents() - Method in interface com.rvi.service.IReaderService
-
Reads supported typed URI, text, contact and Wi-Fi records in order.
- ReaderListener - Class in com.rvi.application
- ReaderListener(NDefMessage) - Constructor for class com.rvi.application.ReaderListener
- ReaderMonitor - Class in com.rvi.application
- ReaderMonitor(CardTerminal, IReaderListener) - Constructor for class com.rvi.application.ReaderMonitor
- ReaderRepository - Class in com.rvi.application
- ReaderRepository(CardChannel) - Constructor for class com.rvi.application.ReaderRepository
- ReaderService - Class in com.rvi.service
- ReaderService() - Constructor for class com.rvi.service.ReaderService
- ReaderService(IReaderRepository) - Constructor for class com.rvi.service.ReaderService
- ReaderServiceException - Exception Class in com.rvi.application.exception
- ReaderServiceException(String) - Constructor for exception class com.rvi.application.exception.ReaderServiceException
- ReaderServiceException(String, Throwable) - Constructor for exception class com.rvi.application.exception.ReaderServiceException
- readURIs() - Method in interface com.rvi.service.IReaderService
-
Reads URI strings in order, skipping other supported content types.
S
- ssid() - Method in record class com.rvi.domain.NDefWifi
-
Returns the value of the
ssidrecord component. - ssid(String) - Method in class com.rvi.application.creator.NDefWifiCreator
-
Sets an SSID of 1-32 UTF-8 bytes.
- start() - Method in class com.rvi.application.ReaderMonitor
-
Starts one background monitor.
T
- text() - Method in record class com.rvi.domain.NDefText
-
Returns the value of the
textrecord component. - text(String) - Method in class com.rvi.application.creator.NDefTextCreator
-
Sets nonempty UTF-8 text.
- TlvDecoder - Class in com.rvi.application
- TlvDecoder() - Constructor for class com.rvi.application.TlvDecoder
- TlvEncoder - Class in com.rvi.application
- TlvEncoder() - Constructor for class com.rvi.application.TlvEncoder
- TlvException - Exception Class in com.rvi.application.exception
- TlvException(String) - Constructor for exception class com.rvi.application.exception.TlvException
- toString() - Method in record class com.rvi.domain.NDefContact
-
Returns a string representation of this record class.
- toString() - Method in record class com.rvi.domain.NDefMessage
-
Returns a string representation of this record class.
- toString() - Method in record class com.rvi.domain.NDefText
-
Returns a string representation of this record class.
- toString() - Method in record class com.rvi.domain.NDefUri
-
Returns a string representation of this record class.
- toString() - Method in record class com.rvi.domain.NDefWifi
-
Returns a string representation of this record class.
U
- uri() - Method in record class com.rvi.domain.NDefUri
-
Returns the value of the
urirecord component. - uri(String) - Method in class com.rvi.application.creator.NDefUriCreator
-
Sets an absolute URI with a scheme, e.g. https://example.com or tel:+41791234567.
V
- valueOf(String) - Static method in enum class com.rvi.domain.WifiAuthentication
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.rvi.domain.WifiEncryption
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.rvi.domain.WifiAuthentication
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.rvi.domain.WifiEncryption
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- website() - Method in record class com.rvi.domain.NDefContact
-
Returns the value of the
websiterecord component. - website(String) - Method in class com.rvi.application.creator.NDefContactCreator
-
Sets an optional HTTP or HTTPS contact website; null becomes empty.
- WifiAuthentication - Enum Class in com.rvi.domain
- WifiEncryption - Enum Class in com.rvi.domain
- WPA2_PERSONAL - Enum constant in enum class com.rvi.domain.WifiAuthentication
- write(NDefMessage) - Method in interface com.rvi.application.IReaderRepository
- write(NDefMessage) - Method in class com.rvi.application.ReaderRepository
- write(NDefMessage) - Method in interface com.rvi.service.IReaderService
-
Replaces card content and verifies it by reading back.
- write(NDefMessage) - Method in class com.rvi.service.ReaderService
- writeURI(String) - Method in interface com.rvi.service.IReaderService
-
Encodes and writes a single absolute URI, replacing existing content.
All Classes and Interfaces|All Packages|Serialized Form