Java Memory isDefaultMemoryCardDrive(String aRoot)

Here you can find the source of isDefaultMemoryCardDrive(String aRoot)

Description

is Default Memory Card Drive

License

Open Source License

Declaration

private static boolean isDefaultMemoryCardDrive(String aRoot) 

Method Source Code

//package com.java2s;
/*/* www  .  ja va2 s  .c o m*/
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

public class Main {
    private static String iDefaultMemoryCard;

    private static boolean isDefaultMemoryCardDrive(String aRoot) {
        if (aRoot.equalsIgnoreCase(iDefaultMemoryCard)) {
            return true;
        }
        return false;
    }
}

Related

  1. correctMemoryValue(int memory)
  2. displayMemory(String label, long bytes)
  3. dumpMemory()
  4. dumpMemoryInfo(String msg)
  5. fillMemory()
  6. isInMemoryDatabase(final String databasePath)
  7. isMemoryAccess(final String value)
  8. isMemoryData(String metric)
  9. isMemorySufficient()