@Test(expected = RuntimeException.class) public void testEncoderWithUnkownRecord() throws Exception { List<Record> records = new ArrayList<Record>(); records.add(new UnknownRecord()); encoder.encode(records); }
public byte[] encode(Record... records) { return encode(Arrays.asList(records)); }
NdefMessageEncoder { public byte[] encode(Record... records) { return encode(Arrays.asList(records)); } }
NdefMessageEncoder { public byte[] encode(Record... records) { return encode(Arrays.asList(records)); } NdefMessageEncoder(NdefRecordEncoder ndefRecordEncoder); }
NdefMessageEncoder { public byte[] encode(Record... records) { return encode(Arrays.asList(records)); } NdefMessageEncoder(NdefRecordEncoder ndefRecordEncoder); byte[] encodeSingle(Record record); void encodeSingle(Record record, ByteArrayOutputStream out); byte[] encode(Record... records); byte[] encode(Iterable<? extends Record> records); void encode(Iterable<? extends Record> records, ByteArrayOutputStream baos); }
NdefMessageEncoder { public byte[] encode(Record... records) { return encode(Arrays.asList(records)); } NdefMessageEncoder(NdefRecordEncoder ndefRecordEncoder); byte[] encodeSingle(Record record); void encodeSingle(Record record, ByteArrayOutputStream out); byte[] encode(Record... records); byte[] encode(Iterable<? extends Record> records); void encode(Iterable<? extends Record> records, ByteArrayOutputStream baos);  }