Package org.nfctools.mf.ul

Examples of org.nfctools.mf.ul.Type2NdefOperations


  public static Type2NdefOperations getType2BlankTag(String fileName, boolean formatted, boolean writable) {
    try {
      InMemoryTag tag = new InMemoryTag(FileMfUlReader.loadCardFromFile(fileName));
      AcrMfUlReaderWriter readerWriter = new AcrMfUlReaderWriter(tag);
      return new Type2NdefOperations(fileName.startsWith("mful_") ? MemoryLayout.ULTRALIGHT
          : MemoryLayout.ULTRALIGHT_C, readerWriter, readerWriter.getTagInfo(), formatted, writable);
    }
    catch (IOException e) {
      throw new RuntimeException(e);
    }
View Full Code Here

TOP

Related Classes of org.nfctools.mf.ul.Type2NdefOperations

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.