Package entagged.tageditor.tools.renaming.data

Examples of entagged.tageditor.tools.renaming.data.DirectoryDescriptor.addChild()


      // Now create the DirectoryDescritor for the target
      DirectoryDescriptor targetDirectory = assertDirectory(path
          .toString(), true);
      descriptor.setTargetDirectory(targetDirectory);
      targetDirectory.addChild(descriptor);

    } catch (MissingValueException e) {
      descriptor.setMissingFields(e.getMissingFields());
    }
  }
View Full Code Here


    if (directoryInstance.getParentFile() != null) {
      DirectoryDescriptor parent = assertDirectory(directoryInstance
          .getParent(), target);
      result = new DirectoryDescriptor(directoryInstance.getName(),
          parent, !target, target);
      parent.addChild(result);
    } else {
      // consider, for whatever reason the getName() for a drive (C:\)
      // returns an empty string.
      String rootName = directoryInstance.getAbsolutePath();
      if (rootName.endsWith(File.separator)) {
View Full Code Here

      throws Exception {
    DirectoryDescriptor parent = assertDirectory(audioFile.getParent(),
        false);
    FileDescriptor result = new FileDescriptor(audioFile.getName(), parent,
        bitrate);
    parent.addChild(result);
    return result;
  }

  /**
   * This method prepares the tag from the given file according to the
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.